1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Though it doesn't make much of a difference, really, we don't need to specify 2001 as the year.

This commit is contained in:
danbrown
2013-10-01 15:09:37 -04:00
parent 37d7deea6b
commit ccbfdb71e1

View File

@@ -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