dark
dark copied to clipboard
Date module should document timezone info / UTC
(executed at 12:5x pm EST)
Date::now |> Date::hour can be surprising to users outside of GMT. This confusion could be avoided by updating documentation of Date::now (and maybe others)
I'm hoping to add more info to the live value display, to give extra perspective (for example, with an int we could show it in hex, binary, etc). So for a date we could explain that the date is UTC, then show it in localtime (based on browser) or even allow the users to add some timezones they like in settings.
with an int we could show it in hex, binary, etc
Once we have proper user types, we could allow users to customize the corresponding 'render' in some way. That could help with dates, but I think changing the comment wouldn't hurt on top of that.
(fwiw, I could see similar customization for data-entry of user types, but that's probably getting ahead of ourselves)
folded into #5239