Fix downloads hardcoded date parsing.

pull/17125/head
Péter Szilágyi 8 years ago
parent f13464c730
commit 2df5ead8f4
No known key found for this signature in database
GPG Key ID: 119A76381CCB7DD2
  1. 2
      downloads/index.html

@ -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();

Loading…
Cancel
Save