mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-07-31 10:30:15 +02:00
Hopefully fixes date parsing in aai mode.
This commit is contained in:
@@ -6,7 +6,7 @@ modulejs.define('parser/apache-autoindex', ['_', '$', 'core/mode', 'core/setting
|
|||||||
var $tds = $(tr).find('td'),
|
var $tds = $(tr).find('td'),
|
||||||
$a = $tds.eq(1).find('a'),
|
$a = $tds.eq(1).find('a'),
|
||||||
label = $a.text(),
|
label = $a.text(),
|
||||||
time = format.parseDate($tds.eq(2).text(), 'YYYY-MM-DD HH:mm'),
|
time = format.parseDate($tds.eq(2).text(), ['YYYY-MM-DD HH:mm', 'DD-MMM-YYYY HH:mm']),
|
||||||
size = format.parseSize($tds.eq(3).text());
|
size = format.parseSize($tds.eq(3).text());
|
||||||
|
|
||||||
absHref = absHref + $a.attr('href');
|
absHref = absHref + $a.attr('href');
|
||||||
|
Reference in New Issue
Block a user