▲ | burntsushi 3 days ago | |
> Datetime + tz name: a point in time and space that is responsive to time zone changes No. It isn't a point in time, because time zone transition rules can and do change. You need an offset as well. Then you can choose which thing you want to prioritize[1] when converting it to an instant in time. This is what RFC 9557 is for. [1]: https://docs.rs/jiff/latest/jiff/tz/enum.OffsetConflict.html | ||
▲ | lmm 3 days ago | parent [-] | |
What use case is there for preferring the offset (that wouldn't be better served by using instants)? |