mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-03-24 14:30:03 +01:00
Fixes Apache mod_autoindex date parsing.
This commit is contained in:
parent
1f3d501a04
commit
6245c4654c
@ -31,9 +31,9 @@ var H5AI_CONFIG = {
|
||||
|
||||
/*
|
||||
An array of view modes the user may choose from. Currently there
|
||||
are two possible values: "details" and "icons". The first value
|
||||
indicates the default view mode. If only one value is given the
|
||||
view mode is fixed and the selector buttons are hidden.
|
||||
are two possible values: "details", "icons", "grid", and "list".
|
||||
The first value indicates the default view mode. If only one value
|
||||
is given the view mode is fixed and the selector buttons are hidden.
|
||||
The user selected view mode is also stored local in modern browsers
|
||||
so that it will be persistent.
|
||||
|
||||
|
@ -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(), 'DD-MMM-YYYY HH:mm'),
|
||||
time = format.parseDate($tds.eq(2).text(), 'YYYY-MM-DD HH:mm'),
|
||||
size = format.parseSize($tds.eq(3).text());
|
||||
|
||||
absHref = absHref + $a.attr('href');
|
||||
|
Loading…
x
Reference in New Issue
Block a user