Re: (rewritten) In directory pages, how to show file dates in a specific timezone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 14, 2018 at 12:08 AM, Dedeco Balaco
<dedeco.balaco@xxxxxxxxx.invalid> wrote:
>
> Em 13-06-2018 17:29, Yann Ylavic escreveu:
>>
>> The date format used by mod_autoindex is hardcoded, and does not
>> include the timezone (%z or %Z in strftime format).
>> I think a patch is needed to eventually configure it (e.g. another
>> IndexOptions keyword).
>>
>
> Being hardcoded is bad.

Not so until someone notices ;)

> Should I consider this as a bug and report it?

I'd call it an improvement request, bugzilla can be used for that yes.

>
> The thread in LinuxQuestions.org I pointed has a basic code that I can use
> to make some PHP code to list what I need. If that is not the better
> solution, at least for something temporary, please point.

Possibly the easiest/fastest solution, because (see below)...

>
> Taking the code from Apache's mod_autoindex, fixing and running the new code
> for my user is something easy to do? Will it need to be installed by root?
> Making it available for other users in the server is not needed, not
> necessary.

This needs mod_autoindex to be recompiled and installed in the httpd
directory (with whatever rights that may require).
If you can't do this, the PHP solution might be what you need for now.

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux