mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-29 04:06:11 +01:00
Changes in styleshet and generated html to conform more to mobile w3c reccomendations.
This commit is contained in:
parent
f42025e5da
commit
96dc05e4f1
9 changed files with 82 additions and 44 deletions
|
|
@ -115,7 +115,7 @@ class ApplicationController < ActionController::Base
|
|||
def format_date(date)
|
||||
if date
|
||||
date_format = prefs.date_format
|
||||
formatted_date = date.to_datetime.in_time_zone(prefs.time_zone).strftime("#{date_format}")
|
||||
formatted_date = date.in_time_zone(prefs.time_zone).strftime("#{date_format}")
|
||||
else
|
||||
formatted_date = ''
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue