Skip to content

Commit

Permalink
changing date format + months in french
Browse files Browse the repository at this point in the history
  • Loading branch information
fannymugnier committed Mar 30, 2021
1 parent 3df82b5 commit 681f2a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion user/config/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ home:
pages:
theme: sheaft-theme
dateformat:
default: 'H:i d/m/Y'
default: 'Y-m-d'

markdown:
extra: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{ page.date|date("d") }}
</div>
<div class="blog-date-month">
{{ "%b"|strftime(page.date) | convert_encoding('UTF-8', 'ISO-8859-1')}}
{{ page.date|localizeddate('long', 'none', 'fr', 'Europe/Paris', 'MMM') }}
</div>
<div class="blog-date-year">
{{ page.date|date("Y") }}
Expand Down

0 comments on commit 681f2a4

Please sign in to comment.