Commit 8ad26fc2 by Chris Dodge

replaced DateJS with latest version from their repository. There was a known bug…

replaced DateJS with latest version from their repository. There was a known bug about parsing times that are 12:xxPM - believe it or not.
parent 50e54518
......@@ -185,7 +185,7 @@ function getEdxTimeFromDateTimeVals(date_val, time_val, format) {
time_val = '00:00';
// Note, we are using date.js utility which has better parsing abilities than the built in JS date parsing
date = Date.parse(date_val+" "+time_val);
date = Date.parse(date_val + " " + time_val);
if (format == null)
format = 'yyyy-MM-ddTHH:mm';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment