From 6a0c5087f716ed6c876a666db6573491bfd3e094 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 12 Jun 2016 23:54:17 +0200 Subject: Design income form --- src/client/elm/LoggedIn/View/Date.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/elm/LoggedIn/View') diff --git a/src/client/elm/LoggedIn/View/Date.elm b/src/client/elm/LoggedIn/View/Date.elm index 783f10c..8e4e872 100644 --- a/src/client/elm/LoggedIn/View/Date.elm +++ b/src/client/elm/LoggedIn/View/Date.elm @@ -5,7 +5,7 @@ module LoggedIn.View.Date exposing ) import Date exposing (..) -import Utils.Date exposing (monthToNum) +import Date.Extra.Core as Date import String import Model.Translations exposing (..) @@ -14,7 +14,7 @@ renderShortDate : Date -> Translations -> String renderShortDate date translations = let params = [ String.pad 2 '0' (toString (Date.day date)) - , String.pad 2 '0' (toString (monthToNum (Date.month date))) + , String.pad 2 '0' (toString (Date.monthToInt (Date.month date))) , toString (Date.year date) ] in getParamMessage params "ShortDate" translations -- cgit v1.2.3