Req #66157 [Asn]: Reduce number of date formats from 9 to 1
| From: | t at tcx dot de | Date: | Tue, 04 Mar 2014 09:44:21 +0000 |
| Subject: | Req #66157 [Asn]: Reduce number of date formats from 9 to 1 | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-18398@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66157&edit=1
ID: 66157
User updated by: t at tcx dot de
Reported by: t at tcx dot de
Summary: Reduce number of date formats from 9 to 1
Status: Assigned
Type: Feature/Change Request
Package: Website problem
PHP Version: Irrelevant
Assigned To: levim
Block user comment: N
Private report: N
New Comment:
http://www.python.org/ now uses Y-m-d.
In Gmail web interface I also see that more of my reply emails write something like:
"2014-03-04 2:58 GMT+01:00 Name <name@example.org>:" (Note, they miss the leading 0
for one digit hours and use GMT which is wrong, correct is UTC).
Previous Comments:
------------------------------------------------------------------------
[2014-03-04 04:27:22] levim@php.net
This many date formats in use bothers me as well. I'll look into pruning them a bit.
------------------------------------------------------------------------
[2013-11-23 18:10:16] bjori@php.net
(It thinks it is spam becomes there are so many links :))
Thanks for the report, you raise an excellent point!
------------------------------------------------------------------------
[2013-11-23 06:34:49] t at tcx dot de
http://pecl.php.net/ "Y-m-d" (fine)
http://pecl.php.net/news/ "Y-m-d" (fine)
http://pecl.php.net/package/stats "Y-m-d"
(fine)
http://marc.info/?l=pecl-dev "Y-m-d" (fine)
http://snaps.php.net/ "M j, Y H:i" or "M d, Y
H:i" only two digit example found, so format not clear. (Total = 9)
------------------------------------------------------------------------
[2013-11-23 06:34:21] t at tcx dot de
http://pear.php.net/package/HTTP_OAuth/
"Y-m-d" (fine)
http://pear.php.net/package/Auth/download/
"Y-m-d H:i" (fine)
http://pear.php.net/bugs/search.php?cmd=display&package_name%5B%5D=Auth
"Y-m-d" (fine)
http://pear.php.net/manual/en/about-pear.php
"D, j M Y" or "D, d M Y" only two digit example found, so format not clear.
------------------------------------------------------------------------
[2013-11-23 06:32:12] t at tcx dot de
http://news.php.net/php.announce "D M j H:i:s
Y", the second space before the j only occurs for j<10. The format cannot be expressed with
the php formatting codes. (Total = 5)
https://git.php.net/ '18 hours ago' - no explicit date
https://git.php.net/?p=web/gtk.git;a=summary
"Y-m-d" + "D, j M Y H:i:s O (H:i O)" , where the second H, i, O differ from the
first (Total = 6)
http://news.php.net/group.php?group=php.announce&format=rss
"D, d M Y H:i:s O" (Total = 7)
http://pear.php.net/ "D, jS M y" (Total = 8)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=66157
--
Edit this bug report at https://bugs.php.net/bug.php?id=66157&edit=1