Edit report at https://bugs.php.net/bug.php?id=66157&edit=1

 ID:                 66157
 Updated by:         [email protected]
 Reported by:        t at tcx dot de
-Summary:            Reduce number of date formats from 9 to 1
+Summary:            Reduce number of date formats from 9 to 3
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
 Package:            Website problem
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

> […]; going from 9 formats to 3 formats is a significant
> improvement.

And certainly good enough.


Previous Comments:
------------------------------------------------------------------------
[2014-03-29 17:56:56] t at tcx dot de

@levim's "Don't be an arse;" 

ISO 8601 was not my invention.
 
Here is another source that references it https://xkcd.com/1179/

------------------------------------------------------------------------
[2014-03-14 15:52:21] [email protected]

> That again is three formats.

Don't be an arse; going from 9 formats to 3 formats is a significant 
improvement. It's technically only 2 formats as the third is included in the 
second; I was just being explicit that some things don't have an associated 
time.

------------------------------------------------------------------------
[2014-03-14 15:21:54] t at tcx dot de

Y-m-d is already the most used format on php.net when looking at the links 
provided on creation of this bug.

Just convert the others to Y-m-d and you are done.

------------------------------------------------------------------------
[2014-03-14 15:18:21] t at tcx dot de

"Human readable dates will be displayed as 'd M Y'. Datetimes intended for 
tools will use RFC 3339 (W3C is the same thing). Dates intended for tools (no 
timestamp information) will use 'Y-m-d'."

That again is three formats. On a website all displayed date information can be 
read by humans. Y-m-d is perfectly readable by humans - at least me and 
probably the designers of https://www.python.org/ thought so. Y-m-d is defined 
in ISO 8601 and it is the most compact format of those that are not ambiguous. 
Straight forward. No RFCs with their handful of formats, no W3C (they 
themselves don't use it strictly on their site), just one ISO.

------------------------------------------------------------------------
[2014-03-14 15:07:59] [email protected]

Human readable dates will be displayed as 'd M Y'. Datetimes intended for tools 
will use RFC 3339 (W3C is the same thing). Dates intended for tools (no 
timestamp information) will use 'Y-m-d'.

I have committed some changes already and plan to work on this today during 
stretches where my code is compiling.

------------------------------------------------------------------------


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

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to