Fixing EMM-1779

This commit is contained in:
Megala 2016-10-25 17:34:53 +05:30
parent 00be80eb2a
commit e23ecc5b64
2 changed files with 3 additions and 3 deletions

View File

@ -1072,7 +1072,7 @@ public class DeviceManagementAdminServiceImpl implements DeviceManagementAdminSe
private static void validateScheduleDate(String dateString){
try {
if (dateString != null) {
if (dateString != null && !dateString.isEmpty()) {
SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT);
sdf.setLenient(false);
sdf.parse(dateString);

View File

@ -205,7 +205,7 @@
showDropdowns: true,
timePickerIncrement: 1,
locale: {
format: 'MM-DD-YYYY hh:mm a'
format: "YYYY-MM-DDTHH:mm:ssZZ"
}
});
});
@ -222,7 +222,7 @@
showDropdowns: true,
timePickerIncrement: 1,
locale: {
format: 'MM-DD-YYYY hh:mm a'
format: "YYYY-MM-DDTHH:mm:ssZZ"
}
});
}