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
A form created where a TimeData question has the default value of
format-date(now(), '%H:%M:%S')
should be initialized to the current time, but doing so on Oct 27, 2020 in the US Eastern timezone (likely others) results in the value being displayed to the user being 1 hour early (10am v. 11am, etc).
This is quite likely because the time value is being cast against an Epoch date in one instance (which is UTC-5 in US Eastern on Jan 1) and against the current date in another (which is UTC-4 in US Eastern on Oct 27)
The text was updated successfully, but these errors were encountered:
ctsims
changed the title
Defaulting TimeData to "now
Defaulting TimeData to "now" has offset issues
Oct 27, 2020
A form created where a TimeData question has the default value of
format-date(now(), '%H:%M:%S')
should be initialized to the current time, but doing so on Oct 27, 2020 in the US Eastern timezone (likely others) results in the value being displayed to the user being 1 hour early (10am v. 11am, etc).
This is quite likely because the time value is being cast against an Epoch date in one instance (which is UTC-5 in US Eastern on Jan 1) and against the current date in another (which is UTC-4 in US Eastern on Oct 27)
The text was updated successfully, but these errors were encountered: