Re:Fixing JavaScript's Date (2017)
by why-oh-why on Friday February 28, 2020 @06:59AM
(#22442176)
Your request is too broad, I suggest asking a question on StackOverflow explaining what the issue is exactly.
I didn't make a request. My post consists of two observations and an aside.
Thanks for your wonderful feedback though.
Re:Fixing JavaScript's Date (2017)
by jessaustin on Friday February 28, 2020 @01:49PM
(#22445222)
That is the wrong way to fish for that "easy solution" on HN. The proper way is to confidently state that there is no easy solution, which may inspire the HN hive mind to contradict you. That probably won't work ITT however since I spoiled it by pointing this out.
Re:Fixing JavaScript's Date (2017)
by why-oh-why on Saturday February 29, 2020 @12:24AM
(#22449057)
> In fact, if anyone knows an easy solution for that I'd love to hear it.
What’s this? You’re asking for a solution to “things that don’t work” ️
This makes it hard to do "class MyDate extends Date" when targeting ES5 from TS. In fact, if anyone knows an easy solution for that I'd love to hear it.