Restrict parse of %Z to valid timezone names and abbrev.

This commit is contained in:
Howard Hinnant
2017-04-13 14:23:42 -04:00
parent ea8a24504d
commit 0dd1d499ae

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/>
2017-04-02<br/> 2017-04-13<br/>
</address> </address>
<hr/> <hr/>
<h1 align=center><code>date</code></h1> <h1 align=center><code>date</code></h1>
@@ -8142,8 +8142,10 @@ are optional: <code>-4:30</code>.</td>
<tr> <tr>
<td><code>%Z</code></td> <td><code>%Z</code></td>
<td>The time zone abbreviation. A single word is read as specified by the extraction <td>The time zone abbreviation or name. A single word is parsed. This word can only
operator for <code>std::basic_string</code>.</td> contain characters from the <i>basic source character set</i> ([lex.charset] in the
C++ standard) that are alphanumeric, or one of <code>'_'</code>, <code>'/'</code>,
<code>'-'</code> or <code>'+'</code>.</td>
</tr> </tr>
<tr> <tr>