From 60ba273fa1232ef859d253ab3b284ca6a0ddb50f Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 3 Aug 2024 16:27:27 -0400 Subject: [PATCH] fmt/strtime: remove note that IANA time zone identifiers aren't supported Because they are supported now, as of #75. --- src/fmt/strtime/mod.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/fmt/strtime/mod.rs b/src/fmt/strtime/mod.rs index a29399f..3bee55f 100644 --- a/src/fmt/strtime/mod.rs +++ b/src/fmt/strtime/mod.rs @@ -132,11 +132,6 @@ assert_eq!(date.strftime("%Y%m%d").to_string(), "09990715"); # Ok::<(), Box>(()) ``` -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