mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
Initial attempt to resolve dateFormat issue
Translating from strftime format to jQuery UI's format on the fly on every page render. That kind of sucks, but it works. I think I have enough translations here to cover everybody, but possibly not.
This commit is contained in:
parent
c1dfeaf0f2
commit
686086dcdf
3 changed files with 15 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ function project_defaults(){
|
|||
}
|
||||
|
||||
function enable_rich_interaction(){
|
||||
$('input.Date').datepicker();
|
||||
$('input.Date').datepicker({'dateFormat': dateFormat});
|
||||
/* Autocomplete */
|
||||
$('input[name=context_name]').autocomplete(contextNames);
|
||||
$('input[name=project[default_context_name]]').autocomplete(contextNames);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue