Opening messages at local midnight in every time zone
How we seal wishes until the right day with Intl, a stored time zone and one integer in D1 To open something at local midnight for a user, store their IANA time zone next to the date. When the record is created, turn that date into a single UTC instant, using Intl.DateTimeFormat and checking the…
A summary from a public feed. The full text is on the site that published it.