Opened 12 years ago

Closed 12 years ago

#141 closed defect (fixed)

Assumption: date_default_timezone_set

Reported by: osjonathan Owned by: theduckylittle
Priority: minor Milestone: 2.6.1
Component: GeoMOOSE/PHP Version: 2.6
Keywords: Cc:

Description

print.php uses the PHP function date_default_timezone_set() to set the timezone to: 'America/Los_Angeles' which is used to put the date on some templates.
While I can change this to the correct timezone, I only noticed this because I was browsing through the PHP files trying to find why certain other stuff wasn't working.

This should be a user variable,probably in localsettings.ini, that is documented somewhere as needing to be changed as part of the setup process. For my part I'm +8hrs meaning anyone who creates a map early in the day would have the wrong date printed on it.

Change History (4)

comment:1 by theduckylittle, 12 years ago

Owner: set to theduckylittle
Status: newassigned

comment:2 by theduckylittle, 12 years ago

Status: assignedtesting

New setting is now available . You should be able to change the default in local_settings.php

timezone=WHATEVER

comment:3 by theduckylittle, 12 years ago

Milestone: 2.6.1

comment:4 by theduckylittle, 12 years ago

Resolution: fixed
Status: testingclosed
Note: See TracTickets for help on using tickets.