Bug 62291 - update-index uses local TZ
Summary: update-index uses local TZ
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_mbox (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2018-04-12 14:00 UTC by Sebb
Modified: 2018-04-12 14:00 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2018-04-12 14:00:32 UTC
https://svn.apache.org/repos/asf/httpd/mod_mbox/trunk/scripts/update-index has the line:

DATE=`TZ=PST8PDT date -u "+%Y%m"`

This is specific to a particular installation, and does not belong here.
The corresponding monthly script does not have the same issue.

If the TZ has to be set, it should be done externally to the script.