mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-29 12:16:11 +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
|
|
@ -32,6 +32,7 @@
|
|||
var defaultContexts = <%= default_contexts_for_autocomplete %>;
|
||||
var defaultTags = <%= default_tags_for_autocomplete %>;
|
||||
var tagNames = <%= tag_names_for_autocomplete %>;
|
||||
var dateFormat = '<%= date_format_for_date_picker %>';
|
||||
<% end -%>
|
||||
</script>
|
||||
<link rel="shortcut icon" href="<%= url_for(:controller => 'favicon.ico') %>" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue