pull down to refresh
0 sats \ 0 replies \ @WeAreAllSatoshi 24 Aug \ on: JavaScript dates are about to be fixed tech
I don’t disagree that working with dates is hard. It’s hard in any language. But I don’t think what’s in JS today is broken (aside from the leap year stuff the article mentioned). If you want to know the time zone of origination for an event, that’s an extra requirement beyond knowing the exact moment something happened. How do you even reliably get that? Let the client supply it? Do it based on IP to Geolocation lookup? All of this can be spoofed, so how accurate is it really. Just render your timestamps with a time zone and then you will know the exact moment something happened. /rant