1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-18 17:57:24 +03:00

bug : Fix date formatting for firefox

This commit is contained in:
Daniel Molina 2015-08-25 15:55:19 +02:00
parent 64bf5bc837
commit 640071e230

@ -149,7 +149,7 @@ define(function(require) {
var v = $("#acct_end_time", context).val();
if (v != ""){
end_time = new Date(v+' UTC');
end_time = new Date(dateFromString(v));
if (isNaN(end_time)){
Notifier.notifyError(Locale.tr("Time range end is not a valid date. It must be YYYY/MM/DD"));