Paul Dicker
Paul Dicker
It is currently not possible to crate a `TzOffset` from a `FixedOffset`, but not fundamentally impossible. `TzOffset` is a superset of `FixedOffset`, with a base offset, DST offset, time zone...
The GitHub Action was broken again and removed in #159. From that PR: > Because we need to check the changes anyway to see if they would be a breaking...
So creating a timezone from just an abbreviation is impossible, as mentioned before. Getting the abbreviation from a `TzOffset` is possible with the `OffsetName` trait.
This was fixed in chrono 0.4.27 with https://github.com/chronotope/chrono/pull/1035.
I believe these leftover references are all gone now.
@atouchet Thank you for looking into it again! Removed the `Makefile` in https://github.com/chronotope/chrono/pull/1133.
Fixed in https://github.com/chronotope/chrono/pull/818, backported to 0.4.x in https://github.com/chronotope/chrono/pull/823.
Thank you! Merged in https://github.com/chronotope/chrono/pull/1059.
The `Duration` type of chrono has an `abs` method since https://github.com/chronotope/chrono/pull/418. But you get the [`Duration` from time 0.1](https://docs.rs/time/0.1.45/time/struct.Duration.html) which doesn't have `abs` if the `oldtime` features is enabled.
It is available if you use chrono with: ```toml [dependencies] chrono = { version = "0.4.26", default-features = false, features = ["clock", "std"] } ``` This is unfortunate, hopefully it...