From 3889d21ab58fbbc0134854b95013196a82e8d510 Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 8 Aug 2016 21:03:00 +0200 Subject: Add missing translations and modify clone income date to be the actual date --- src/client/elm/Dialog/AddIncome/Model.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/elm') diff --git a/src/client/elm/Dialog/AddIncome/Model.elm b/src/client/elm/Dialog/AddIncome/Model.elm index 664557e..0d52b22 100644 --- a/src/client/elm/Dialog/AddIncome/Model.elm +++ b/src/client/elm/Dialog/AddIncome/Model.elm @@ -34,7 +34,7 @@ initialAdd translations date = initialClone : Translations -> Date -> Income -> List (String, Field) initialClone translations date income = [ ("amount", Field.Text (toString income.amount)) - , ("date", Field.Text (Date.shortView (Date.fromTime income.time) translations)) + , ("date", Field.Text (Date.shortView date translations)) ] initialEdit : Translations -> IncomeId -> Income -> List (String, Field) -- cgit v1.2.3