memo b1806ce257 UX Enhancement: Date Time Picker
added date time picker to select schedule start and end dates
added MIT license for moment.js and bootstrap-datetimepicker.js

Change-Id: I45a8f5481bd509bb25f6e766b4eab247a863fe9d
2015-10-09 14:24:35 +01:00

14 lines
240 B
JavaScript

/*global $*/
"use strict";
$(function () {
$('#id_schedule_start_date').datetimepicker({
format: 'YYYY-MM-DDThh:mm:ss'
});
$('#id_schedule_end_date').datetimepicker({
format: 'YYYY-MM-DDThh:mm:ss'
});
});