We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f0cd70 commit f15ae34Copy full SHA for f15ae34
packages/web/src/views/Today/util/date-route.util.ts
@@ -14,7 +14,7 @@ export const parseDateFromUrl = (
14
}
15
16
// Use strict parsing to ensure exact format match
17
- // Parse in local timezone first, then convert to UTC to avoid timezone issues
+ // Parse in local timezone to maintain user's date context, then convert to UTC for storage/comparison
18
const parsed = dayjs(dateString, YEAR_MONTH_DAY_FORMAT, true).utc();
19
20
if (!parsed.isValid()) {
0 commit comments