[PHP-DEV] Bug #14422 Updated: Wrong week-numbers for year 2002

2001-12-12 Thread sz
ID: 14422 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Date/time related Operating System: Win32 PHP Version: 4.0.6 New Comment: yes, I see that (week 1 = first monday of the year). But look at your (printed) calendar of 2002: week 1 beginns at

[PHP-DEV] Bug #14422 Updated: Wrong week-numbers for year 2002

2001-12-12 Thread sz
ID: 14422 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Date/time related Operating System: Win32 PHP Version: 4.0.6 New Comment: and by the way: week 1 of the year 2003 will start at Monday, 30. Dec. 2002 (and not Mon. 06. Jan. 2003) Previous

[PHP-DEV] Bug #14422: Wrong week-numbers for year 2002

2001-12-11 Thread sz
From: [EMAIL PROTECTED] Operating system: Win32 PHP version: 4.0.6 PHP Bug Type: Date/time related Bug description: Wrong week-numbers for year 2002 // Example: Week of Jan 01, 2002: $sec = mktime(0,0,0,1,1,2002); $week = strftime(%W, $sec); Result: $week = 00 !!!