summaryrefslogtreecommitdiff
path: root/includes/view/UserWorkLog_view.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/view/UserWorkLog_view.php')
-rw-r--r--includes/view/UserWorkLog_view.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/view/UserWorkLog_view.php b/includes/view/UserWorkLog_view.php
index 86a367ae..79c049b3 100644
--- a/includes/view/UserWorkLog_view.php
+++ b/includes/view/UserWorkLog_view.php
@@ -36,9 +36,10 @@ function UserWorkLog_edit_form($user_source, $userWorkLog)
{
return form([
form_info(_('User'), User_Nick_render($user_source)),
+ form_date('work_timestamp', _('Work date'), $userWorkLog['work_timestamp'], null, time()),
form_text('work_hours', _('Work hours'), $userWorkLog['work_hours']),
form_text('comment', _('Comment'), $userWorkLog['comment']),
- form_submit('submit', _('Add'))
+ form_submit('submit', _('Save'))
]);
}