mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 16:20:12 +01:00
fix small timezone issue (#786) with the date that is shown for a todo
This commit is contained in:
parent
793f43ef07
commit
33eba10e88
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class ApplicationController < ActionController::Base
|
|||
def format_date(date)
|
||||
if date
|
||||
date_format = prefs.date_format
|
||||
formatted_date = date.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