aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Dialog
diff options
context:
space:
mode:
authorJoris2016-08-08 21:03:00 +0200
committerJoris2016-08-08 21:03:04 +0200
commit3889d21ab58fbbc0134854b95013196a82e8d510 (patch)
treefc87f525e74d565c01e6e9633d7191ba092fe873 /src/client/elm/Dialog
parent8816cf758119a6a2073e561c8df297a833630986 (diff)
Add missing translations and modify clone income date to be the actual date
Diffstat (limited to 'src/client/elm/Dialog')
-rw-r--r--src/client/elm/Dialog/AddIncome/Model.elm2
1 files changed, 1 insertions, 1 deletions
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)