aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Dialog/AddIncome
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/Dialog/AddIncome')
-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)