Fix downloads hardcoded date parsing.

This commit is contained in:
Péter Szilágyi
2016-11-15 16:29:56 +02:00
parent f13464c730
commit 2df5ead8f4

View File

@@ -319,6 +319,8 @@
}
if (date.length != 14) {
date = new Date($($(blobs[i]).find('Last-Modified')[0]).text());
} else {
date = moment(date, "YYYYMMDDhhmmss").toDate();
}
var size = $($(blobs[i]).find('Content-Length')[0]).text();