Skip to content

Commit

Permalink
Fixes date translation in themes.
Browse files Browse the repository at this point in the history
Fixes #397
  • Loading branch information
Frédéric de Villamil committed Mar 2, 2014
1 parent 8e4f7c8 commit 4eb90d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def content_array
end

def display_date(date)
date.strftime(this_blog.date_format)
l(date, :format => this_blog.date_format)
end

def display_time(time)
Expand Down
4 changes: 2 additions & 2 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fr:
next_page: "Next page"
previous_page: "Previous page"
helper:
at: "at"
at: "à"
articles:
index:
next_page: "Next page"
Expand All @@ -67,7 +67,7 @@ fr:
comment_preview:
is_about_to_say: "va dire"
meta:
published_on: "Published on"
published_on: "Publié le"
by: "par"
tags: "Tags"
article:
Expand Down

0 comments on commit 4eb90d6

Please sign in to comment.