Skip to content

Commit

Permalink
Merge pull request #17 from dl1ely/locale_#16
Browse files Browse the repository at this point in the history
Adds Locale "en" for groups in archives
  • Loading branch information
yogthos committed Nov 19, 2014
2 parents 4edc171 + 9628fb9 commit 99f7fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leiningen/new/cryogen/src/cryogen/compiler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
:toc (if (:toc page-meta) (generate-toc content))}
(if is-post?
{:date (parse-post-date file-name)
:archive-group (.format (java.text.SimpleDateFormat. "yyyy MMMM") (parse-post-date file-name))
:archive-group (.format (java.text.SimpleDateFormat. "yyyy MMMM" (java.util.Locale "en")) (parse-post-date file-name))
:uri (post-uri file-name config)
:tags (set (:tags page-meta))}
{:uri (page-uri file-name config)
Expand Down

0 comments on commit 99f7fc8

Please sign in to comment.