From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 12:18 AM
Subject: [PHP-DEV] Bug #15060: Keine Ahnung was Ihr hier wollen tut!


> From:             [EMAIL PROTECTED]
> Operating system: win 2000
> PHP version:      4.0.6
> PHP Bug Type:     Date/time related
> Bug description:  Keine Ahnung was Ihr hier wollen tut!
>
> Das Problem ist bei der Ausgabe der Wochenformatierung des
Timestamps, dass
> ab diesem Jahr die Formatierung eine Woche hinterherhinkt--->
beginn ist
> bei 0 und nicht bei 1.

Please read http://php.net/strftime. Test the three conversion
specifiers:

%U - week number of the current year as a decimal number, starting
with the first Sunday as the first day of the first week

%V - The ISO 8601:1988 week number of the current year as a decimal
number, range 01 to 53, where week 1 is the first week that has at
least 4 days in the current year, and with Monday as the first day
of the week. (Use %G or %g for the year component that corresponds
to the week number for the specified timestamp.)

%W - week number of the current year as a decimal number, starting
with the first Monday as the first day of the first week

and make a new bug report if one of the three is not working
correct.

-Egon


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to