Ask a Question related to PHP Bugs, Design and Development.
-
tony2001@php.net #1
#39106 [Opn->Bgs]: date("w") incompatible with date("W")
ID: 39106
Updated by: [email]tony2001@php.net[/email]
Reported By: felixmallek at gmx dot de
-Status: Open
+Status: Bogus
Bug Type: *Calendar problems
Operating System: n/a
PHP Version: 5.1.6
New Comment:
Expected and well documented behaviour, no bug here.
Previous Comments:
------------------------------------------------------------------------
[2006-10-10 10:42:26] felixmallek at gmx dot de
Description:
------------
Hi,
I'm creating a calendar using the date() function.
I want to show in this calendar the Week-number, but there are two
different standarts:
1) date("w") has Sunday as the first day of the week
2) date("W") has Monday as the first day of the week
I think it's rubbish because the different standarts makes a calendar
awkward.
I think it would be not bad to edit one of standarts in the next
Version of PHP or in one of the following updates.
Thanks
Felix
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=39106&edit=1[/url]
tony2001@php.net Guest
-
#40717 [NEW]: date "01-01-1968" inaccessible via date function
From: manuel dot pinhao at nvisible dot pt Operating system: Windows XP SP2 PHP version: 5.2.1 PHP Bug Type: Date/time... -
#39106 [NEW]: date("w") incompatible with date("W")
From: felixmallek at gmx dot de Operating system: n/a PHP version: 5.1.6 PHP Bug Type: *Calendar problems Bug description: ... -
#24941 [Bgs]: strtotime returns same date for "first wednesday" and "second Wednesday"
ID: 24941 User updated by: jpage at javeo dot com Reported By: jpage at javeo dot com Status: Bogus Bug Type: ... -
#24941 [Opn->Bgs]: strtotime returns same date for "first wednesday" and "second Wednesday"
ID: 24941 Updated by: iliaa@php.net Reported By: jpage at javeo dot com -Status: Open +Status: Bogus... -
#24941 [NEW]: strtotime returns same date for "first wednesday" and "second Wednesday"
From: jpage at javeo dot com Operating system: Red Hat Linux PHP version: 4.3.1 PHP Bug Type: Date/time related Bug...



Reply With Quote

