aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/View/Date.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/View/Date.elm')
-rw-r--r--src/client/elm/View/Date.elm8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/elm/View/Date.elm b/src/client/elm/View/Date.elm
index 21bbfc4..35806ba 100644
--- a/src/client/elm/View/Date.elm
+++ b/src/client/elm/View/Date.elm
@@ -17,19 +17,19 @@ shortView date translations =
, String.pad 2 '0' (toString (Date.monthToInt (Date.month date)))
, toString (Date.year date)
]
- in getParamMessage params "ShortDate" translations
+ in getParamMessage params translations "ShortDate"
longView : Date -> Translations -> String
longView date translations =
let params =
[ toString (Date.day date)
- , (getMessage (getMonthKey (Date.month date)) translations)
+ , (getMessage translations (getMonthKey (Date.month date)))
, toString (Date.year date)
]
- in getParamMessage params "LongDate" translations
+ in getParamMessage params translations "LongDate"
monthView : Translations -> Month -> String
-monthView translations month = getMessage (getMonthKey month) translations
+monthView translations month = getMessage translations (getMonthKey month)
getMonthKey : Month -> String
getMonthKey month =