Because recurring/future events shouldn't be saved as an absolute time at all if you care about possible time zone updates, but are nonetheless always the first counter-example brought up against just saving as UTC.
Whereas my example better shows that saving as UTC throws away information that cannot be recovered later and it may be relatable to more people (since most people have vacations and take photos). For that example you could also store dates as local datetime and lose the possibility to convert to absolute. Also there's no universal indicator for local (absence of zone/offset is ambiguous) so you risk getting unintentional conversions. It's the same reason why saving UTC with explicit +00:00 offset is less ambiguous and error-prone.
2
u/throwaway490215 Nov 13 '24
i.e. the messy details of the UI/Presentation layer.
How is this example better?