diff options
author | Joris | 2016-08-08 21:03:00 +0200 |
---|---|---|
committer | Joris | 2016-08-08 21:03:04 +0200 |
commit | 3889d21ab58fbbc0134854b95013196a82e8d510 (patch) | |
tree | fc87f525e74d565c01e6e9633d7191ba092fe873 /src/client/elm/Dialog/AddIncome | |
parent | 8816cf758119a6a2073e561c8df297a833630986 (diff) |
Add missing translations and modify clone income date to be the actual date
Diffstat (limited to 'src/client/elm/Dialog/AddIncome')
-rw-r--r-- | src/client/elm/Dialog/AddIncome/Model.elm | 2 |
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) |