mirror of
https://github.com/grocy/grocy.git
synced 2025-08-14 17:54:40 +00:00
Modularize more components
This commit is contained in:
10
public/viewjs/components/datetimepicker.js
Normal file
10
public/viewjs/components/datetimepicker.js
Normal file
@@ -0,0 +1,10 @@
|
||||
$(function()
|
||||
{
|
||||
$('.datetimepicker').datetimepicker(
|
||||
{
|
||||
format: 'YYYY-MM-DD HH:mm:ss',
|
||||
showTodayButton: true,
|
||||
calendarWeeks: true,
|
||||
maxDate: moment()
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user