Open RiedleroD opened 1 month ago
or we only store UTC timestamps which can be converted client side to the correct timezone
I literally already explained why we can't do that
i dont get it
I'll explain it in tomorrow's meeting. tldr time is fucked and we're the condom
ALL timedates should have their timezone attached! This is non-negotiable if we want this to work at all outside CET/CEST. I'm not even sure if we're not assuming GMT instead in some places. tbqh the time-related code is a mess and needs to be rewritten. We can't rely on only passing implicitly UTC-based timedates, especially in countries that have summertime/wintertime splits.
I suggest:
YYYY-MM-DD+-HH:MM
(e.g.2024-10-22+02:00
, in PHPY-m-dP
)YYYY-MM-DDTHH:MM+-HH:MM
(e.g.2024-10-22T05:40+02:00
, in PHPY-m-d\TH:iP
)todos: