beautiful (almost). so I stuck this in my application constructor:
                TimeZone.setDefault(TimeZone.getTimeZone("Canada/Eastern"));
NSTimeZone.setDefault(TimeZone.getTimeZone("Canada/Eastern"));

and on my development box I see EDT for the timezone.
on the deployment box (centos 6) at the prompt I see:

bash-4.1$ date
Tue Mar 12 14:01:02 EDT 2013

but my app says, "PST" except the times shown on the screen are what is in the 
postgresql database. i was expecting to see the offset.

I don't get this voodoo


--- On Tue, 3/12/13, David Holt <[email protected]> wrote:

> From: David Holt <[email protected]>
> Subject: Re: timezone, ok I'm done
> To: "Theodore Petrosky" <[email protected]>
> Cc: "WebObjects Development" <[email protected]>
> Date: Tuesday, March 12, 2013, 12:19 PM
> Application
> constructor is one way:
>    
>     // Default time zone   
>     // System.out.println("TimeZone
> IDs"+Arrays.toString(TimeZone.getAvailableIDs())); 
>      
> TimeZone.setDefault(TimeZone.getTimeZone("Canada/Eastern")); 
>      
> NSTimeZone.setDefault(TimeZone.getTimeZone("Canada/Eastern"));
> 
> On 2013-03-12, at 9:17 AM, Theodore Petrosky
> <[email protected]>
> wrote:
> How do I select the timezone to use the
> ERDEditDatePopup? I have been googling for so long my
> fingers hurt.
> 
> can someone help me with a d2w rule to set my
> ERDEditDatePopup.
> 
> thank you
>  _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Webobjects-dev mailing list
>      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> 
> This email sent to [email protected]
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to