#temporalapi — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #temporalapi, aggregated by home.social.
-
So guess who wrote a convoluted date comparison conditional instead of using `Temporal.ZonedDateTime.compare()` like an intelligent human being and ended up hitting an edge case where future scheduled calls started getting cleaned off the database instead of past ones?
I’ll give you a hint: has two thumbs and his name is Aral 🤦♂️
Anyway, just restored things from yesterday’s backup and sent a direct message to everyone scheduled for a Gaza Verified video verification call apologising for the confusion and explaining what happened.
Moral of the story: stick to the Temporal API and use its methods if you’re implementing anything even remotely non-trivial involving dates, especially if there are timezones involved. (You can use a Temporal API polyfill in Node.js – I’ve been using temporal-polyfill.)
Now I’m going to expire for the evening.
💕
#GazaVerified #TemporalAPI #calendars #dates #timezones #JavaScript #NodeJS
-
#Development #Overviews
When can I use the Temporal API? · Why JavaScript’s Date API replacement took so long https://ilo.im/165c7r_____
#TC39 #EcmaScript #JavaScript #TemporalAPI #DateAPI #API #Browser #WebDev #Frontend -
Temporal API: Revolutioniert JavaScript den Umgang mit Datum und Zeit? | heise online heise.de/-10310315 #Programmiersprache #JavaScript #Datum #Uhrzeit #TemporalAPI
Temporal API: Revolutioniert J... -
Temporal API: Revolutioniert JavaScript den Umgang mit Datum und Zeit? | heise online
https://heise.de/-10310315 #Programmiersprache #JavaScript #Datum #Uhrzeit #TemporalAPI