This commit is contained in:
Matteo Giaccone 2014-12-30 22:56:19 +00:00 committed by Dan Rice
parent 31217762a0
commit d7fbcb10c4
7 changed files with 10 additions and 7 deletions

View file

@ -28,7 +28,7 @@ class PreferencesController < ApplicationController
def render_date_format
format = params[:date_format]
render :text => l(Date.today, :format => format)
render :text => l(Date.current, :format => format)
end
private