Issue 432: Event Times One Hour Off
Status:  Done
Owner: ----
Closed:  Jun 2010
Reported by jbres...@gmail.com, Apr 1, 2010
How come the following event (as an example, it is happening with all
events) is showing up on the calendar with a start time of 10:00a? Is this
a DST issue? I did not see a setting to set DST in the calendar.

{
title: 'DP Test Event',
start: 'Sat, 24 Apr 2010 9:00:00 PST',
end: 'Sat, 24 Apr 2010 10:00:00 PST',
className: 'cc3 eventDetails',
url: '/tools/calendar/cal_more.cfm?id=11051&cal=Calendar',
allDay: false
}, 

Apr 1, 2010
#1 jbres...@gmail.com
I did an alert when the event gets rendered, returning the event start time and
title. This is what I get...

"Thu Apr 24 2010 10:00:00 GMT-0700 (Pacific Daylight Time) DP Test Event"

Why is it saying "GMT-0700" and how do I change it to "-0800"?
Apr 5, 2010
#2 jbres...@gmail.com
Anybody? Bueller?


Apr 8, 2010
Project Member #3 adamrs...@gmail.com
please include a demonstration of the bug. This can be a link to a website or a ZIP 
containing a runnable HTML file. Please include everything needed to recreate the bug 
(JS, CSS, event JSON).

also, what timezone are you in?
Apr 12, 2010
#4 jbres...@gmail.com
Hello Adam,

Here is an example page where you can see the issue with the time I am having. Please
excuse the horrible code, I copied/pasted the source from the actual file, which is
password protected, so you could see what was happening.

My Time Zone is: (GMT-08:00) Pacific Time (US & Canada)

https://meded-portal-dev.ucsd.edu/testCal.cfm
Apr 22, 2010
#5 jbres...@gmail.com
Have you had a chance to look at this page?
May 7, 2010
#6 jbres...@gmail.com
Is there anybody out there...
May 7, 2010
Project Member #7 adamrs...@gmail.com
when dates are in IETF format, they are just handed over to the native Date 
constructor. i don't know why it isn't parsing it correctly. maybe something to do 
with daylight savings time. when i remove the "PST" part in your date strings, it 
works.

probably the best workaround is to use the ISO8601 format
Jun 14, 2010
Project Member #8 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Done