Skip to content
Browse files

Improved date range

  • Loading branch information...
1 parent 5e253a1 commit be1cd60e93710102c1b9957970700acc6cf8c9dd moodler committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/weblib.php
View
2 lib/weblib.php
@@ -3597,7 +3597,7 @@ function print_date_selector($day, $month, $year, $currenttime=0, $return=false)
for ($i=1; $i<=12; $i++) {
$months[$i] = userdate(gmmktime(12,0,0,$i,1,2000), "%B");
}
- for ($i=2000; $i<=2010; $i++) {
+ for ($i=1970; $i<=2020; $i++) {
$years[$i] = $i;
}
return choose_from_menu($days, $day, $currentdate['mday'], '', '', '0', $return)

0 comments on commit be1cd60

Please sign in to comment.
Something went wrong with that request. Please try again.