Closed Robinlovelace closed 6 years ago
(1) is best.
Read would also take locale tzid.
I don't think it matters, but if you do (1) you don't have to deal with BST boundaries yourself - you just need a way of picking a TZID from e.g. the name of the time offset or geolocation or whatever.
Geolocation providers if you want to use them: https://wiki.archlinux.org/index.php/time#Time_zone
Turns out adding TZID didn't solve it. Removing the Z by default from the time did. Heads-up @layik on the imperfect solution.
As discussed with @cmcaine,
ic_write()
does not save the time zone. This led to a meeting being scheduled for the wrong time!Reprex illustrating the problem (no tzid is saved so it assumes we're in UTC):
Created on 2018-10-19 by the reprex package (v0.2.1)
2 options: 1) save the tzid by default or 2) convert everything to UTC. I suggest 1) is better - agreed @cmcaine ? Give it a bosh if you fancy, otherwise I'm on it.