From 26d0de59850fd7cc6b4730c3ff2a1254334dac23 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Wed, 19 Sep 2012 20:56:54 +0200 Subject: [PATCH] Hopefully fixes date parsing in aai mode. --- src/_h5ai/js/inc/parser/apache-autoindex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_h5ai/js/inc/parser/apache-autoindex.js b/src/_h5ai/js/inc/parser/apache-autoindex.js index b118db05..0280d22c 100644 --- a/src/_h5ai/js/inc/parser/apache-autoindex.js +++ b/src/_h5ai/js/inc/parser/apache-autoindex.js @@ -6,7 +6,7 @@ modulejs.define('parser/apache-autoindex', ['_', '$', 'core/mode', 'core/setting var $tds = $(tr).find('td'), $a = $tds.eq(1).find('a'), 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()); absHref = absHref + $a.attr('href');