diff options
author | 2018-08-07 09:41:08 -0400 | |
---|---|---|
committer | 2018-08-07 09:41:08 -0400 | |
commit | 9b0264e3ac1a1eca639a5d506c3d7d3a8396ed50 (patch) | |
tree | b181385744f5ebe3c8ff0b6ab6dd733712a99172 | |
parent | Use PNG logos on archive pages (diff) | |
download | planet-9b0264e3ac1a1eca639a5d506c3d7d3a8396ed50.tar.gz planet-9b0264e3ac1a1eca639a5d506c3d7d3a8396ed50.tar.bz2 planet-9b0264e3ac1a1eca639a5d506c3d7d3a8396ed50.zip |
scripts/update-venus: Set default timezone to PHP calls for consistency
Also eliminates warning messages from PHP
-rwxr-xr-x | scripts/update-venus | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update-venus b/scripts/update-venus index 930dfbb..15350e1 100755 --- a/scripts/update-venus +++ b/scripts/update-venus @@ -52,8 +52,8 @@ cp -a ${BASE_DIR}/htdocs/index.html \ cp -a ${BASE_DIR}/htdocs/universe/index.html \ ${BASE_DIR}/htdocs/universe/archives/$(date +%G)/${DATE}.html cd ${BASE_DIR}/htdocs/archives -php index.php > index.html.gen +php -d date.timezone=UTC index.php > index.html.gen [[ $? == 0 ]] && mv index.html.gen index.html cd ${BASE_DIR}/htdocs/universe/archives -php index.php > index.html.gen +php -d date.timezone=UTC index.php > index.html.gen [[ $? == 0 ]] && mv index.html.gen index.html |