3 ms·
Thank you for answering, I understand the dilemma now and why you chose to force users to explicitly convert to UTC. When I see the example my thinking is: Wel
by aimor 3y ago
Thank you for answering, I understand the dilemma now and why you chose to force users to explicitly convert to UTC.
When I see the example my thinking is: Well, if you want a time offset relative to Europe/Paris then define your time zone that way instead. Of course I haven't seen other libraries give that option and maybe for good reasons.
- ariebovenberg 3y agoYeah—the perfect solution doesn't exist. The problem is that fixed-offset datetimes are very common since RFC3339 and ISO8061 don't support timezone names. The result is that you often end up with fixed-offset datetimes that should instead be linked to a IANA tz ID.