Commit:    9d983f68725bf9675310aa1f8fed3373a061b36f
Author:    Rasmus Lerdorf <[email protected]>         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


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to