Hey everyone! Earlier this week I published this article on the Temporal API (it really is awesome).<p>It's only the second time I dare share a link to an article I wrote. I find it intimidating, honestly.<p>I put a ton of effort into writing the article (and creating the no-dependencies runnable-script widget). Would love your feedback / constructive criticism :)
I'm currently procrastinating my task of migrating an entire frontend from MomentJS to date-fns. I hate dates, and I hate this work. I would be overjoyed if we get a standard.<p>Funnily enough, date-fns-tz is MUCH worse than moment-timezone, so much so that I'm regretting making the decision to migrate. It works by fundamentally altering the Unix timestamp of the underlying date, so that when you format() it, the times <i>appear</i> correct. But try to actually pull a unix seconds out of it and you're screwed.<p>I should have stuck with the larger bundle size. Aside from Moment being mutable and non-tree-shakeable, the api is better in every way if you care about fixed, non-local timezones.