You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IOS journal date picker chooses the wrong date #693
I can reproduce what looks like the same class of bug in America/Los_Angeles timezone.
Platform:
iOS TestFlight DB app
Timezone: America/Los_Angeles
Revision: 94ccc71
iOS version: 26.4.2
Device: iPhone 14 Pro Max
Steps:
Open the daily journal page.
Tap the calendar button.
Tap a specific date.
The app opens/selects the previous date from the one I tapped.
Expected:
The tapped date should open.
Actual:
The previous date opens.
Additional context:
This may be related to date-only string parsing in the mobile calendar path. From the current public source, the native iOS picker appears to return a yyyy-MM-dd string, and the CLJS side appears to parse it with js/Date before converting it to a journal title.
In JavaScript, date-only strings like 2026-05-25 are parsed as midnight UTC. In timezones behind UTC, such as America/Los_Angeles, that UTC midnight can become the previous local calendar day. For example, 2026-05-25T00:00:00Z is 2026-05-24 17:00 in Los Angeles during daylight saving time.
Possible code path:
ios/App/App/UILocalPlugin.swift formats the selected date as yyyy-MM-dd in dateChanged
Activity
alexdmtv commentedon May 25, 2026
I can reproduce what looks like the same class of bug in America/Los_Angeles timezone.
Platform:
Steps:
Expected:
The tapped date should open.
Actual:
The previous date opens.
Additional context:
This may be related to date-only string parsing in the mobile calendar path. From the current public source, the native iOS picker appears to return a
yyyy-MM-ddstring, and the CLJS side appears to parse it withjs/Datebefore converting it to a journal title.In JavaScript, date-only strings like
2026-05-25are parsed as midnight UTC. In timezones behind UTC, such as America/Los_Angeles, that UTC midnight can become the previous local calendar day. For example,2026-05-25T00:00:00Zis2026-05-24 17:00in Los Angeles during daylight saving time.Possible code path:
ios/App/App/UILocalPlugin.swiftformats the selected date asyyyy-MM-ddindateChangedsrc/main/mobile/components/header.cljscalls(js/Date. date)insideopen-journal-calendar!tiensonqin commentedon Aug 31, 2026
Closing as stale: no replies in over 3 months. Please reopen if this is still happening on a current 2.0 / nightly build.