Re:Fixing JavaScript's Date (2017)
by ZeroClickOk on Thursday February 27, 2020 @07:07PM
(#22439350)
The fix for any date/time issues in any language is replicate NodaTime (https://nodatime.org/)
[ Parent
| on HN ]
NodaTime is great, as is the project it's based on JodaTime, which has since been deprecated in favor of the standard library java.time. https://www.joda.org/joda-time/
Hopefully other languages and platforms, including .NET, move to including a sane DateTime library in the standard library too.
Re:Fixing JavaScript's Date (2017)
by paulddraper on Thursday February 27, 2020 @10:39PM
(#22440318)
Have you used https://js-joda.github.io/js-joda/ ?