Display months in local language for date_selector

This commit is contained in:
moodler
2003-01-03 06:43:12 +00:00
parent 15ac90653d
commit 8663bfdb08
+1 -1
View File
@@ -1000,7 +1000,7 @@ function print_date_selector($day, $month, $year, $currenttime=0) {
$days[$i] = "$i";
}
for ($i=1; $i<=12; $i++) {
$months[$i] = date("F", mktime(0,0,0,$i,1,2000));
$months[$i] = userdate(mktime(0,0,0,$i,1,2000), "%B");
}
for ($i=2000; $i<=2010; $i++) {
$years[$i] = $i;