mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-06 07:51:48 +01:00
increase range of years that the date picker should honor. Now set at 2015 at which you really should have upgraded to a newer version of tracks :-)
This commit is contained in:
parent
13db454e8a
commit
7de258841e
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ module TodosHelper
|
|||
|
||||
def calendar_setup( input_field )
|
||||
str = "Calendar.setup({ ifFormat:\"#{prefs.date_format}\""
|
||||
str << ",firstDay:#{prefs.week_starts},showOthers:true,range:[2004, 2010]"
|
||||
str << ",firstDay:#{prefs.week_starts},showOthers:true,range:[2004, 2015]"
|
||||
str << ",step:1,inputField:\"" + input_field + "\",cache:true,align:\"TR\" })\n"
|
||||
javascript_tag str
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue