Allow optional leading hours digit in offset when a colon is required.

This commit is contained in:
Howard Hinnant
2016-08-08 18:25:59 -04:00
parent bddd8be2aa
commit 54a8b2dc19

View File

@@ -26,7 +26,7 @@
<br/> <br/>
<br/> <br/>
<a href="mailto:howard.hinnant@gmail.com">Howard E. Hinnant</a><br/> <a href="mailto:howard.hinnant@gmail.com">Howard E. Hinnant</a><br/>
2016-06-27<br/> 2016-08-08<br/>
</address> </address>
<hr/> <hr/>
<h1 align=center>Time Zone Database Parser</h1> <h1 align=center>Time Zone Database Parser</h1>
@@ -2289,8 +2289,9 @@ passed in, on successful parse it will hold the value represented by
<p> <p>
The format of the offset is <code>+/-hhmm</code>. The leading plus or minus The format of the offset is <code>+/-hhmm</code>. The leading plus or minus
sign is required. If the format string was modified (i.e. <code>%Ez</code> sign is required. If the format string was modified (i.e. <code>%Ez</code>
or <code>%Oz</code>), a colon is required between hours and minutes: or <code>%Oz</code>), a colon is required between hours and minutes, and the leading
<code>+/-hh:mm</code>. hours digit is optional:
<code>+/-[h]h:mm</code>.
</p> </p>
</li> </li>