use dotclear Date Helper, fix #1
This commit is contained in:
parent
862d72b040
commit
b96bc74176
@ -41,8 +41,8 @@ class Widgets
|
||||
$array_year[$i] = $i;
|
||||
}
|
||||
for ($i = 1;$i <= 12;$i++) {
|
||||
$i = str_repeat('0', (2 - strlen((string) $i))) . $i;
|
||||
$array_month[ucfirst(__(strftime('%B', (int) mktime(0, 0, 0, (int) $i, 1, 1970)))) . ' (' . $i . ')'] = $i;
|
||||
$i = str_repeat('0', (2 - strlen((string) $i))) . $i;
|
||||
$array_month[ucfirst(__(Date::strftime('%B', (int) mktime(0, 0, 0, (int) $i, 1, 1970)))) . ' (' . $i . ')'] = $i;
|
||||
}
|
||||
for ($i = 1;$i <= 31;$i++) {
|
||||
$i = str_repeat('0', (2 - strlen((string) $i))) . $i;
|
||||
|
Loading…
Reference in New Issue
Block a user