Commit: fa19116560e9e5ae666bf8faa94d5f77d8de6041 Author: danbrown <[email protected]> Tue, 1 Oct 2013 15:09:37 -0400 Parents: 94ac7af8240a6855c2e01b9b2aa775996d67e7ae Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=fa19116560e9e5ae666bf8faa94d5f77d8de6041 Log: Though it doesn't make much of a difference, really, we don't need to specify 2001 as the year. Changed paths: M submit-event.php Diff: diff --git a/submit-event.php b/submit-event.php index 05b2b2b..b87ec9c 100644 --- a/submit-event.php +++ b/submit-event.php @@ -152,10 +152,10 @@ if (count($errors)) { display_errors($errors); } // Generate days and months arrays for form for ($i = 1; $i <= 7; $i++) { - $days[$i] = strftime('%A', mktime(12, 0, 0, 4, $i, 2001)); + $days[$i] = strftime('%A', mktime(12, 0, 0, 4, $i)); } for ($i = 1; $i <= 12; $i++) { - $months[$i] = strftime('%B', mktime(12, 0, 0, $i, 1, 2001)); + $months[$i] = strftime('%B', mktime(12, 0, 0, $i, 1)); } // Possibilities to recur -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
