From c9c460f7b675cde7106bc1f0cffce68e01b6f246 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Wed, 1 Jun 2016 23:25:22 -0400 Subject: [PATCH] Create %Ez & %Oz to put ':' in offset for format and parse. --- tz.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/tz.html b/tz.html index 18da684..b706984 100644 --- a/tz.html +++ b/tz.html @@ -26,7 +26,7 @@

Howard E. Hinnant
-2016-05-28
+2016-06-01
Creative
 Commons License
This work is licensed @@ -2080,6 +2080,11 @@ used. sys_time: "+0000" is used. +

+If %z is modified by either E or O +(that is, %Ez or %Oz), then a colon is inserted +between the hours and minutes: +00:00. +

  • @@ -2271,7 +2276,14 @@ parse of the offset, but then ignore the offset in assigning a value to the passed in, on successful parse it will hold the value represented by %z if present, or will be assigned 0min if %z is not present. -

  • +

    +

    +The format of the offset is +/-hhmm. The leading plus or minus +sign is required. If the format string was modified (i.e. %Ez +or %Oz), a colon is required between hours and minutes: ++/-hh:mm. +

    +
  • If %Z appears in the format string then an