mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
refactor due date tag on todo for mobile and non-mobile view
This commit is contained in:
parent
b7126998b2
commit
bafd55cf09
4 changed files with 82 additions and 65 deletions
|
|
@ -106,7 +106,7 @@ class ApplicationController < ActionController::Base
|
|||
# config/settings.yml
|
||||
#
|
||||
def format_date(date)
|
||||
return date ? date.in_time_zone(prefs.time_zone).strftime("#{prefs.date_format}") : ''
|
||||
return prefs.format_date(date)
|
||||
end
|
||||
|
||||
def for_autocomplete(coll, substr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue