Skip to content

Commit

Permalink
Display months in local language for date_selector
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jan 3, 2003
1 parent 15ac906 commit 8663bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/weblib.php
Expand Up @@ -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;
Expand Down

0 comments on commit 8663bfd

Please sign in to comment.