Skip to content

Commit

Permalink
fmt/strtime: remove note that IANA time zone identifiers aren't suppo…
Browse files Browse the repository at this point in the history
…rted

Because they are supported now, as of #75.
  • Loading branch information
BurntSushi committed Aug 3, 2024
1 parent 482e2b4 commit 60ba273
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/fmt/strtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,6 @@ assert_eq!(date.strftime("%Y%m%d").to_string(), "09990715");
# Ok::<(), Box<dyn std::error::Error>>(())
```
Additionally, the parsing and formatting in this module does not currently
support IANA time zone identifiers. This means that it isn't suitable as an
interchange format. And time zone abbreviations, i.e., `%Z` when formatting,
aren't supported when parsing because time zone abbreviations are ambiguous.
The main advice here is that these APIs can come in handy for ad hoc tasks that
would otherwise be annoying to deal with. For example, I once wrote a tool to
extract data from an XML dump of my SMS messages, and one of the date formats
Expand Down

0 comments on commit 60ba273

Please sign in to comment.