com web/php: Without pinning the year this array will change from year to year: include/layout.inc

From: Date: Sun, 12 Jan 2014 17:10:11 +0000
Subject: com web/php: Without pinning the year this array will change from year to year: include/layout.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-22212@lists.php.net to get a copy of this message
Commit: fe5b6d19872cc536c9b68b1be5bc1b06955de471 Author: Rasmus Lerdorf <rasmus@lerdorf.com> Sun, 12 Jan 2014 09:10:11 -0800 Parents: 96c8c03df2487fe422f11468500dfd5587d5d59e Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=fe5b6d19872cc536c9b68b1be5bc1b06955de471 Log: Without pinning the year this array will change from year to year Changed paths: M include/layout.inc Diff: diff --git a/include/layout.inc b/include/layout.inc index 428aa78..bcfa76a 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -303,7 +303,7 @@ function display_event($event, $include_date = 1) // Weekday names array for ($i = 1; $i <= 7; $i++) { - $days[$i] = strftime('%A', mktime(12, 0, 0, 4, $i)); + $days[$i] = strftime('%A', mktime(12, 0, 0, 4, $i, 2012)); } // Recurring possibilities

« previous php.webmaster (#22212) next »