forked from HowardHinnant/date
Allow optional leading hours digit in offset when a colon is required.
This commit is contained in:
7
tz.html
7
tz.html
@@ -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>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user