WeBWorK Main Forum

Jeff Denny - EST vs. EDT in date/time

Jeff Denny - EST vs. EDT in date/time

by Arnold Pizer -
Number of replies: 0
inactiveTopicEST vs. EDT in date/time topic started 1/1/2007; 11:28:33 PM
last post 1/2/2007; 10:53:26 AM
userJeff Denny - EST vs. EDT in date/time  blueArrow
1/1/2007; 11:28:33 PM (reads: 60, responses: 1)
I'm running WebWork 2.0 and am having difficulty entering date/time info for sets in the homework sets editor page. When I enter a time and date, WebWork appears to make an assumption that I'm working in EST and so it adjusts to EDT. Moreover, if I try to force webwork to accept est, it just won't. What is going on here?

<| Post or View Comments |>


userMichael Gage - Re: EST vs. EDT in date/time  blueArrow
1/2/2007; 10:53:26 AM (reads: 54, responses: 0)
WeBWorK uses the DateTime.pm module and inherits its behavior from that. So

http://datetime.perl.org/index.cgi?FAQ

may have the answer to your question. (and http://datetime.perl.org is a more general reference).

Can you tell us exactly which date you are trying to format? (exactly as entered)

If it's a date in April or May it will try to convert your current EST time to an EDT since it will be daylight savings time by then. I don't think it will let you print an EST time for those months when daylight savings time is in effect.

-- Mike

<| Post or View Comments |>