I'm parsing dates from "yyyy-MM-ddTHH:mm:ss-05:00" format and then
toString()'ing them.
I'm being told that some folks were seeing strange dates as a result, so I
fired up Parallels and
MSIE6 and sure enough, they we weird. Hours off.
I checked the system time and *it* was way off. Set it. Quit and re-opened MSIE
and all was well.
So I can envision a way to say "hey, buddy, your clock's off, so these dates
might be too," but
what's bugging me is why is it that a specific date being read in and then
printed out is affected
by the system's time settings?
Is there a way to override this? Maybe some kind of Date.setBaseTime() or
Date.setTimeZone()?
You may or may not be able to see this in action here...
http://www.redeemerbaptist.org/
...using a WordPress plug-in I'm attempting to make here...
http://code.google.com/p/wp-gcal-rss/
Whining aside, thanks for a great tool!
Original issue reported on code.google.com by redeemer...@gmail.com on 4 Jun 2008 at 1:20
Original issue reported on code.google.com by
redeemer...@gmail.com
on 4 Jun 2008 at 1:20