mirror of https://github.com/snachodog/mybuddy.git
Default to current time for diaper change and end field entries.
This commit is contained in:
parent
8f9a756fa2
commit
36847f0bd2
|
@ -42,6 +42,7 @@
|
|||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('#id_time').datetimepicker({
|
||||
defaultDate: 'now',
|
||||
format: 'YYYY-MM-DD HH:mm'
|
||||
});
|
||||
});
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
useCurrent: false
|
||||
});
|
||||
$('#id_end').datetimepicker({
|
||||
defaultDate: 'now',
|
||||
format: 'YYYY-MM-DD HH:mm'
|
||||
});
|
||||
});
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
useCurrent: false
|
||||
});
|
||||
$('#id_end').datetimepicker({
|
||||
defaultDate: 'now',
|
||||
format: 'YYYY-MM-DD HH:mm'
|
||||
});
|
||||
});
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
useCurrent: false
|
||||
});
|
||||
$('#id_end').datetimepicker({
|
||||
defaultDate: 'now',
|
||||
format: 'YYYY-MM-DD HH:mm:ss'
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue