mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 02:04:38 +00:00
Make it possible to track a chore execution without the time part, only the day
This commit is contained in:
@@ -43,6 +43,13 @@ Grocy.Components.DateTimePicker.Clear = function()
|
||||
$('#datetimepicker-timeago').text('');
|
||||
}
|
||||
|
||||
Grocy.Components.DateTimePicker.ChangeFormat = function(format)
|
||||
{
|
||||
$(".datetimepicker").datetimepicker("destroy");
|
||||
Grocy.Components.DateTimePicker.GetInputElement().data("format", format);
|
||||
Grocy.Components.DateTimePicker.Init();
|
||||
}
|
||||
|
||||
var startDate = null;
|
||||
if (Grocy.Components.DateTimePicker.GetInputElement().data('init-with-now') === true)
|
||||
{
|
||||
|
Reference in New Issue
Block a user