|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-01-13 16:45 UTC] marsh dot wayne at gmail dot com
[2007-01-13 16:52 UTC] iliaa@php.net
[2007-01-13 16:58 UTC] marsh dot wayne at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 20:00:01 2025 UTC |
Description: ------------ I do believe this issue is with date. None of the bugs that appeared seemed to say the issue was resolved. I will install latest cvs and see if that resolves the issue and then update the bug issue. Reproduce code: --------------- <?php error_reporting(E_ALL); for($x = 1; $x < 13; $x++ ){ echo date("F", jdtounix(GregorianToJD( $x, 1 ,2008 )))." - ".$x."<br />"; } ?> Expected result: ---------------- January - 1 February - 2 March - 3 April - 4 May - 5 June - 6 July - 7 August - 8 September - 9 October - 10 November - 11 December - 12 Actual result: -------------- December - 1 January - 2 February - 3 March - 4 April - 5 May - 6 June - 7 July - 8 August - 9 September - 10 October - 11 November - 12