Default to current time for diaper change and end field entries.

This commit is contained in:
Christopher Charbonneau Wells 2017-09-17 08:53:11 -04:00
parent 8f9a756fa2
commit 36847f0bd2
4 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,7 @@
<script type="text/javascript">
$(function () {
$('#id_time').datetimepicker({
defaultDate: 'now',
format: 'YYYY-MM-DD HH:mm'
});
});

View File

@ -46,6 +46,7 @@
useCurrent: false
});
$('#id_end').datetimepicker({
defaultDate: 'now',
format: 'YYYY-MM-DD HH:mm'
});
});

View File

@ -46,6 +46,7 @@
useCurrent: false
});
$('#id_end').datetimepicker({
defaultDate: 'now',
format: 'YYYY-MM-DD HH:mm'
});
});

View File

@ -46,6 +46,7 @@
useCurrent: false
});
$('#id_end').datetimepicker({
defaultDate: 'now',
format: 'YYYY-MM-DD HH:mm:ss'
});
});