Commit: ccbfdb71e13c0e563fdea16dc7c8ba5e3ac2a1fb Author: danbrown <[email protected]> Tue, 1 Oct 2013 15:09:37 -0400 Parents: 37d7deea6b534f8043cb7303c0e0d54b7d12bb7a Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=ccbfdb71e13c0e563fdea16dc7c8ba5e3ac2a1fb 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
