Re: timezone, ok I'm done
Re: timezone, ok I'm done
- Subject: Re: timezone, ok I'm done
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 12 Mar 2013 11:14:54 -0700 (PDT)
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@hidden> wrote:
> From: David Holt <email@hidden>
> Subject: Re: timezone, ok I'm done
> To: "Theodore Petrosky" <email@hidden>
> Cc: "WebObjects Development" <email@hidden>
> 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@hidden>
> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
>
_______________________________________________
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