Re: WebObjects 5.3.3, DST and J2SE 1.4.2
Re: WebObjects 5.3.3, DST and J2SE 1.4.2
- Subject: Re: WebObjects 5.3.3, DST and J2SE 1.4.2
- From: Chuck Hill <email@hidden>
- Date: Tue, 6 Mar 2007 16:05:56 -0800
NSTimestamp is always in GMT. You need run it through a formatter to
convert to the local time zone.
Chuck
On Mar 6, 2007, at 4:02 PM, Baiss Eric Magnusson wrote:
2003-03-11 19:00:00.000
is how a date looks like to me in the DB, this I translate to 7PM P?
T (ie PST or PDT).
From the above does that imply, which I believe is correct, that
the timezone is GMT?
I guess I thought the default time zone, that is the time zone of
the JVM on the server, would be used in the default new NSTimestamp();
On Mar 6, 2007, at 1:27 PM, Ken Anderson wrote:
On Mar 6, 2007, at 4:20 PM, Baiss Eric Magnusson wrote:
But I don't get the DST fix. All the times are wrong in three
different WO calendar sites, even though
<cat /System/Library/Frameworks/JavaWebObjects.framework/
Resources/version.plist>
says I've got WO 5.3.3 running.
<http://www.nwsufis.org/cgi-bin/WebObjects/nwsufis>
Notice the event times on March 6th and 13th, for a weekly
<repeating event>.
Baiss,
Actually, I'd be willing to bet this actually *proves* you have
the DST fix. If you didn't, you wouldn't be seeing a change
across March 11th, it would be across April 1. It's my guess that
you're storing the dates in GMT and adjusting to local time... in
which case, everything is working correctly (from a Java DST point
of view anyway).
Ken
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden