forked from HowardHinnant/date
Add %F to parse
This commit is contained in:
11
tz.html
11
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-08-24<br/>
|
2016-09-09<br/>
|
||||||
</address>
|
</address>
|
||||||
<hr/>
|
<hr/>
|
||||||
<h1 align=center>Time Zone Database Parser</h1>
|
<h1 align=center>Time Zone Database Parser</h1>
|
||||||
@@ -240,7 +240,7 @@ std::cout << t << '\n'; // 2016-05-14 18:33:24 EDT
|
|||||||
</pre></blockquote>
|
</pre></blockquote>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The entire <code>strftime</code> / <code>time_put</code> formatting capability is
|
The entire <code>time_get</code> / <code>time_put</code> formatting capability is
|
||||||
also at your fingertips (and at any precision):
|
also at your fingertips (and at any precision):
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -554,7 +554,7 @@ called <code>utc_time</code>.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Full formatting and parsing facilities are available with <code>strftime</code>-like
|
Full formatting and parsing facilities are available with <code>time_put</code>-like
|
||||||
formatting strings.
|
formatting strings.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -2265,6 +2265,11 @@ The <code>format</code> string follows the rules as specified for <code>std::tim
|
|||||||
with the following exceptions:
|
with the following exceptions:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li><p>
|
||||||
|
If <code>%F</code> appears in the <code>format</code> string it is interpreted as
|
||||||
|
<code>%Y-%m-%d</code>.
|
||||||
|
</p></li>
|
||||||
|
|
||||||
<li><p>
|
<li><p>
|
||||||
If <code>%S</code> or <code>%T</code> appears in the <code>format</code> string
|
If <code>%S</code> or <code>%T</code> appears in the <code>format</code> string
|
||||||
and the argument <code>tp</code> has precision finer than seconds, then the
|
and the argument <code>tp</code> has precision finer than seconds, then the
|
||||||
|
Reference in New Issue
Block a user