git.net

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

Re: [users@httpd] (rewritten) In directory pages, how to show file dates in a specific timezone?


Community,

Is this issue that I'm struggling with really that large of a challenge?  If it is, that's fine, I'm trying to judge if it's something that I should abandon or if it can be done at all..

Thanks,

HB

On Thu, Jun 14, 2018 at 10:25 AM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
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@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx