Skip to content

Fix iteration dates adding timezone offset

euko requested to merge use-pikaday-date-parser-for-iteration-dates into master

Iteration dates should be parsed using parsePikadayDate utility to avoid adding timezone offsets e.g., new Date('2022-01-01') would add timezone offsets based on user's computer but new Date(2022, 0, 0) wouldn't. Resolves #357929 (closed).

Reported in https://gitlab.slack.com/archives/C72HPNV97/p1648658633749299 (ephemeral/internal)

Before After
Screen_Recording_2022-04-05_at_5.55.41_PM Screen_Recording_2022-04-05_at_5.56.14_PM
Edited by euko

Merge request reports

Loading