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-18149@lists.php.net to get a copy of this message
Commit: 9d983f68725bf9675310aa1f8fed3373a061b36f Author: Rasmus Lerdorf <rasmus@lerdorf.com> Sun, 12 Jan 2014 09:10:11 -0800 Parents: bac7a42b15f1dfbc7062d99749388d5baf985b4f Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=9d983f68725bf9675310aa1f8fed3373a061b36f 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 (#18149) next »