* fixed date formatting

This commit is contained in:
"Vincent Ambo ext:(%22) 2013-05-05 18:30:25 +02:00
parent 9904c6117f
commit 287f7fda8c

View file

@ -86,8 +86,8 @@ readMore DE = "Weiterlesen"
readMore EN = "Read more" readMore EN = "Read more"
eTimeFormat :: BlogLang -> String eTimeFormat :: BlogLang -> String
eTimeFormat DE = "Geschrieben am %d.%m.%y von " eTimeFormat DE = "Geschrieben am %Y-%m-%d von "
eTimeFormat EN = "Written on %D by " eTimeFormat EN = "Written on %Y-%m-%d by "
-- contact information -- contact information
contactText :: BlogLang -> Text contactText :: BlogLang -> Text
@ -121,8 +121,8 @@ cSingle DE = "Kommentar:" --input label
cSingle EN = "Comment:" cSingle EN = "Comment:"
cTimeFormat :: BlogLang -> String --formatTime expects a String cTimeFormat :: BlogLang -> String --formatTime expects a String
cTimeFormat DE = "[Am %d.%m.%y um %H:%M Uhr]" cTimeFormat DE = "[Am %Y-%m-%d um %H:%M Uhr]"
cTimeFormat EN = "[On %D at %H:%M]" cTimeFormat EN = "[On %Y-%m-%d at %H:%M]"
cSend :: BlogLang -> Text cSend :: BlogLang -> Text
cSend DE = "Absenden" cSend DE = "Absenden"