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
If I have an ecto schema that has field :started_at, :naive_datetime, then is it possible to display and edit the timezone in the browsers local timezone instead of UTC?
Sure, you can manipulate and format your data however you want. Torch is simple a template generate and you are free to 1) change the templates, or 2) manipulate your time data into local timezones as you see fit for display.
If I have an ecto schema that has
field :started_at, :naive_datetime
, then is it possible to display and edit the timezone in the browsers local timezone instead of UTC?The generated form field looks like:
This is the UI that gets rendered (12:14pm in UTC is 7:14am in my local timezone):
The text was updated successfully, but these errors were encountered: