mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
Fix downloads hardcoded date parsing.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user