com doc/ja: Fix #62823: datetime.formats.compound regex issue: reference/datetime/formats.xml
[email protected] (Yoshinari Takaoka) Sat, 13 Feb 2021 09:27:43 +0000
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
Commit: 96e90773ea4166080501453a540b2bbc4350df1a Author: Yoshinari Takaoka <[email protected]> Sat, 13 Feb 2021 18:27:43 +0900 Parents: 2016f41380b2c7b91b3c2226db761cb9acc54ce4 Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=96e90773ea4166080501453a540b2bbc4350df1a Log: Fix #62823: datetime.formats.compound regex issue Bugs: https://bugs.php.net/62823 Changed paths: M reference/datetime/formats.xml Diff: diff --git a/reference/datetime/formats.xml b/reference/datetime/formats.xml index 004d4eed08..88653be6b0 100644 --- a/reference/datetime/formats.xml +++ b/reference/datetime/formats.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: f3bc618211dd65a97eb427aceb9473d3b4a0c3d0 Maintainer: takagi Status: ready --> +<!-- EN-Revision: 8440ee35c0219dac8fe3f0a3e3f1e52636492771 Maintainer: takagi Status: ready --> <!-- CREDITS: hnw,mumumu --> <chapter xml:id="datetime.formats" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>サポートする日付と時刻の書式</title> @@ -513,7 +513,7 @@ </row> <row> <entry><literal>ii</literal></entry> - <entry>[0-5][0-9]</entry> + <entry>[0-5]?[0-9]</entry> <entry>"04", "8", "59"</entry> </row> <row> @@ -538,8 +538,8 @@ </row> <row> <entry><literal>ss</literal></entry> - <entry>[0-5][0-9]</entry> - <entry>"04", "8", "59"</entry> + <entry>([0-5]?[0-9])|60</entry> + <entry>"04", "8", "59", "60" (うるう秒)</entry> </row> <row> <entry><literal>SS</literal></entry>