Time Zone error

Time Zone error

by Paul Whitener -
Number of replies: 3
Well, i am currently working on Ubuntu 8.0.4 and WebWork. I have everything loaded and things seem to work, "sorta....." A course has been created from the National Libraries. When you enter the course you get the following errors:

Warning messages

Error messages

The timezone 'America/NewYork' could not be loaded, or is an invalid name.

Call stack

The information below can help locate the source of the problem.

  • in DateTime::TimeZone::new called at line 1664 of /usr/lib/perl5/
  • in DateTime::set_time_zone called at line 475 of /usr/lib/perl5/
  • in DateTime::from_epoch called at line 594 of /opt/webwork/webwork2/lib/WeBWorK/
  • in WeBWorK::Utils::formatDateTime called at line 2014 of /opt/webwork/webwork2/lib/WeBWorK/
  • in WeBWorK::ContentGenerator::formatDateTime called at line 452 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/
  • in WeBWorK::ContentGenerator::ProblemSets::setListRow called at line 253 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/
  • in WeBWorK::ContentGenerator::ProblemSets::body called at line 152 of /opt/webwork/webwork2/lib/WeBWorK/
  • in WeBWorK::Template::template called at line 491 of /opt/webwork/webwork2/lib/WeBWorK/
  • in WeBWorK::ContentGenerator::content called at line 195 of /opt/webwork/webwork2/lib/WeBWorK/
  • in WeBWorK::ContentGenerator::go called at line 353 of /opt/webwork/webwork2/lib/

I have checked the Timezone on the server and it is correct. The course was set up with the correct timexone. Any help would be greatly appreciated.


In reply to Paul Whitener

Re: Time Zone error

by Arnold Pizer -
Hi Paul,

Use 'America/New_York' not 'America/NewYork'.

For example look at the instructions