Forum archive 2000-2006

John Williams - Set time

John Williams - Set time

by Arnold Pizer -
Number of replies: 0
inactiveTopicSet time topic started 8/31/2005; 3:58:22 PM
last post 8/31/2005; 7:13:49 PM
userJohn Williams - Set time  blueArrow
8/31/2005; 3:58:22 PM (reads: 457, responses: 1)
Hi

Another semester has started. Our clock on Webwork is 4 hours early. Where is that setting? The system clock is right and Webwork is exactly 4 hours early, Anchorage time.

John Williams, University of Hartford

<| Post or View Comments |>


userMichael Gage - Re: Set time  blueArrow
8/31/2005; 7:13:49 PM (reads: 567, responses: 0)
The setting you are interested in is in global.conf.

Search for this segment:

# Set the default timezone of courses on this server. To get a list of valid
# timezones, run:
#
# perl -MDateTime::TimeZone -e 'print join "\n", DateTime::TimeZone::all_names'
#
# To get a list of valid timezone "links" (deprecated names), run:
#
# perl -MDateTime::TimeZone -e 'print join "\n", DateTime::TimeZone::links'
#
# If left blank, the system timezone will be used. This is usually what you
# want. You might want to set this if your server is NOT in the same timezone as
# your school. If just a few courses are in a different timezone, set this in
# course.conf for the affected courses instead.
#
$siteDefaults{timezone} = "America/New_York";

If these timezones seem to be off you might want to check the system clock. My understanding (very imperfect) is that this is usually set to GMT time at least for freeBSD systems. It may be that the DateTime module assumes this and if you have set the system clock to local time you'll need to compensate in defining the time zone above. -- Mike

<| Post or View Comments |>