jubishop / smalldemocracy

Tools for a Small Democracy.
https://smalldemocracy.com
Other
2 stars 1 forks source link

Assert date input value #229

Closed jubishop closed 2 years ago

jubishop commented 2 years ago

Is 10:30pm as it should be since +11 hours from New York to Bangkok

jubishop commented 2 years ago

On 6/13/1982

jubishop commented 2 years ago

Add timezone name to the label so creator understands what expiration time they are setting (that it's in their own timezone)

jubishop commented 2 years ago

Can we use in:timezone for the post create instead of subtracting timezone_offset?

jubishop commented 2 years ago

And can we use https://ruby-doc.org/stdlib-3.1.0/libdoc/time/rdoc/Time.html to avoid DateTime ?

jubishop commented 2 years ago

In spec_helper give the frozen time always a timezone of New_York