jbz boosted

Question …
For our fedi software I did a "splitting parer" and am unsure about the dates portion https://gist.github.com/sebilasse/77ab52bb4ad82a9665f910a174c6ad90

When I write
"Bin morgen um zwanzig vor eins in Sydney" and pare it in 'de-DE'
[same like "Am tomorrow at twenty to one in Sydney" in 'en'] and spits it into an array

"Bin" and an ActivityPub Event for the rest with the time in Sydney (or whererever).

While all dates are stored in UTC internally it converts it with JS Intl to Sydney time.
But whats happens when a time-shift occurs within the difference to UTC, do I have to check reverse anytime ?

Any ideas?

/ @rauschma

alcinnz boosted