|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-03-14 14:52 UTC] derick@php.net
[2003-03-14 16:35 UTC] unix-guy at pacbell dot net
[2003-03-17 11:54 UTC] unix-guy at pacbell dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 18:00:02 2025 UTC |
The date() function should provide a way to return the ISO 8601 year. As of yesterday's snap (STABLE-20030313), the call: date("Y W", 1041321600) returns "2002 1", which could be argued is correct as it returns the year and the ISO 8601 week, however in the context it is wrong and should probably return "2003 1". I think there should be a formatting option to return ISO 8601 year as well as week to clear up any confusion.