Print Hardcopy Error when Correct Answers is selected | topic started 9/21/2005; 1:34:51 PM last post 7/19/2006; 12:30:33 AM |
|
|
|
Michael Gage - Re: Print Hardcopy Error when Correct Answers is selected 7/19/2006; 12:30:33 AM (reads: 401, responses: 0) |
For
reasons that are not completely clear this error can be fixed by
defining a timezone in global.conf. DateTime has several techniques for
trying to find the local time zone from the environment, and depending
on the system configuration they might all fail. In global.conf set
$siteDefaults{timezone} = "America/New_York"; You can deduce the names to use from this page: http://search.cpan.org/dist/DateTime-TimeZone/ e.g. America/Chicago for most central timezone regions although there are others that handle the idiosyncrasies of time zones in Indiana and so forth. Also it is a good idea to get a recent version of DateTime.pm -- there were some errors for timezones near longitute 0 degrees in earlier versions: http://cpan.uwinnipeg.ca/htdocs/DateTime-TimeZone/Changes.html More information on DateTime at http://datetime.perl.org/index.cgi?Modules see also http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$4080#4088 http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$3756#3761 and http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$3680 and http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$3535#3537 |