-
Notifications
You must be signed in to change notification settings - Fork 10
Dates and Times
TylerSheffels edited this page May 28, 2015
·
2 revisions
Poorly. Going forward try to store times as UTC, and then convert to EST/EDT right before showing to the user.
When saving datetimes using autoform, use:
{{> afQuickField name="eventDate" type="datetime-local"}}
Omitting the timezoneId="America/New_York"
uses the users local timezone. Currently I am going to assume everything is east coast. Going forward if we need to add timezone's we should add a user timezone to the user object and adjust times using moment.tz()
http://stackoverflow.com/questions/2532729/daylight-saving-time-and-time-zone-best-practices