[ww-bugs] Webwork SAST Error info

Arnold Pizer apizer at math.rochester.edu
Wed Oct 17 08:50:20 EDT 2012


Hi Julian,

You should get a response from the WeBWorK bugs tracking sysytem, but just
in case you don't, I'm sending this directly.

Hi,

The quick answer is to use no time zone abbreviation when entering a time.
Enter 2:30 pm NOT 2:30 pm SAST.  WeBWorK will display this as 2:30 pm SAST.


Abbreviations for time zones such (SAST, EST, etc) are not well defined.
That's why the date time module uses e.g. Africa/Johannesburg to set the
correct time zone which also handles daylight saving time changes, etc.
 For convenience when displaying times abbreviations are used but in
general they can not be used when entering times. Since this causes
confusion, some very common abbreviations (e.g. EST) can be used when
entering times. So sometimes you can enter a time zone abbreviation and
sometimes you can't which is even more confusing.  The answer is when
entering a time, DO NOT USE a time zone abbreviation and WeBWorK will do
the correct thing.

Also note that this is not something coded into WeBWorK, it is coded into
the perl modules that handle dates and times.

Hope this helps.

Arnie

On Thu, Sep 20, 2012 at 6:53 AM, Julian Gordon <julian.gordon at uct.ac.za>wrote:

>
>
>
> -------- Original Message --------  Subject: Webwork SAST Error info  Date:
> Thu, 20 Sep 2012 09:18:40 +0000  From: Anita Campbell
> <anita.campbell at uct.ac.za>  To: Julian Gordon <julian.gordon at uct.ac.za>
>
>  This is what webwork reported:****
>
> ** **
> WeBWorK error****
>
> An error occured while processing your request. For help, please send mail
> to this site's webmaster (julian.gordon at uct.ac.za), including all of the
> following information as well as what what you were doing when the error
> occured.****
>
> Thu Sep 20 11:13:12 2012****
>  Warning messages**** Error messages****
>
> Time zone 'SAST' not recognized.****
>  Call stack****
>
> The information below can help locate the source of the problem.****
>
>    - in WeBWorK::Utils::parseDateTime called at line 2016 of
>    /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm****
>    - in WeBWorK::ContentGenerator::parseDateTime called at line 1376 of
>    /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm
>    ****
>    - in
>    WeBWorK::ContentGenerator::Instructor::ProblemSetList::saveEdit_handler
>    called at line 408 of
>    /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm
>    ****
>    - in WeBWorK::ContentGenerator::Instructor::ProblemSetList::body
>    called at line 152 of /opt/webwork/webwork2/lib/WeBWorK/Template.pm****
>    - in WeBWorK::Template::template called at line 491 of
>    /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm****
>    - in WeBWorK::ContentGenerator::content called at line 195 of
>    /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm****
>    - in WeBWorK::ContentGenerator::go called at line 353 of
>    /opt/webwork/webwork2/lib/WeBWorK.pm****
>
>  Request information****
>
> Method****
>
> POST****
>
> URI****
>
> /webwork2/ENDtest/instructor/sets/****
>
> HTTP Headers****
>
> Accept-Charset****
>
> ISO-8859-1,utf-8;q=0.7,*;q=0.3****
>
> User-Agent****
>
> Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.1 (KHTML, like Gecko)
> Chrome/21.0.1180.89 Safari/537.1****
>
> Accept****
>
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8****
>
> Connection****
>
> keep-alive****
>
> Referer****
>
>
> http://www.mth.uct.ac.za/webwork2/ENDtest/instructor/sets/?effectiveUser=anita&user=anita&key=tOa9lywZcX5T6tDeYBj1OvXtbXQa2n4O&editMode=1&visible_sets=3D_Space
> ****
>
> Content-Length****
>
> 2322****
>
> Accept-Encoding****
>
> gzip,deflate,sdch****
>
> Cache-Control****
>
> max-age=0****
>
> Origin****
>
> http://www.mth.uct.ac.za****
>
> Content-Type****
>
> multipart/form-data; boundary=----WebKitFormBoundarybApclAAtyo3K20Zy****
>
> Cookie****
>
> __utma=159029054.640714939.1305056045.1346841679.1347009603.57;
> __utmz=159029054.1347009603.57.35.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided);
> jsMath=font%3Asymbol%2Cwarn%3A0****
>
> Accept-Language****
>
> en-GB,en-US;q=0.8,en;q=0.6****
>
> Host****
>
> www.mth.uct.ac.za****
>
> ** **
>
> ** **
>
>
>
>
>
>  ###
>
> UNIVERSITY OF CAPE TOWN
>
>  This e-mail is subject to the UCT ICT policies and e-mail disclaimer
> published on our website at
> http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27
> 21 650 9111. This e-mail is intended only for the person(s) to whom it is
> addressed. If the e-mail has reached you in error, please notify the
> author. If you are not the intended recipient of the e-mail you may not
> use, disclose, copy, redirect or print the content. If this e-mail is not
> related to the business of UCT it is sent by the sender in the sender's
> individual capacity.
>
>  ###
>
> _______________________________________________
> webwork-bugs mailing list
> webwork-bugs at webwork.maa.org
> http://webwork.maa.org/mailman/listinfo/webwork-bugs
>
>


-- 
Prof. Arnold K. Pizer
Dept. of Mathematics
University of Rochester
Rochester, NY 14627
(585) 766-8812
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://webwork.maa.org/pipermail/webwork-bugs/attachments/20121017/dd730ef6/attachment-0001.html>


More information about the webwork-bugs mailing list