Changes in styleshet and generated html to conform more to mobile w3c reccomendations.

This commit is contained in:
Jakub A.Tesinsky 2008-12-03 11:50:20 +01:00
parent f42025e5da
commit 96dc05e4f1
9 changed files with 82 additions and 44 deletions

View file

@ -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