Re: AJAX Date Picker binding to one day less that the chosen one
Re: AJAX Date Picker binding to one day less that the chosen one
- Subject: Re: AJAX Date Picker binding to one day less that the chosen one
- From: Gustavo Adolfo Pizano <email@hidden>
- Date: Tue, 23 Jun 2009 09:26:28 +0200
Yeah for any date...
Im thinking about its because DST, I have been trying to create
another NSTimestamp from a GregorianCalendar, adding the d/m/y
parameters from the binding, but Im still missing something, because
its telling me that the time its 22:00hrs, if I add those 2 more hours
to complete the day, I guess all will be fine, and those +2 hourse are
because of DST + Central European Time,
mmm.. what should I do then?
I guess the answer its simple but hadn't find it.
thx
G.
On Jun 22, 2009, at 8:48 PM, Chuck Hill wrote:
On Jun 22, 2009, at 5:16 AM, Gustavo Adolfo Pizano wrote:
Hello.
I have 2 AjaxDatePicker, with a format binding to " format ="%Y-%m-
%d" and a value to a NSTimeStamp.
When I chose the time and then submit, what I have is the correct
Year and month, but the day is one less than the one I choose.
i.e : I pickup 12th and the output is an 11th..
What's wrong?
Is something wrong with the component or something Im doing bad, if
so, is it something with the initialization of the NSTimestamp?
Is this for any date? This sounds like what happens when you are in
Daylight Saving Time and select a date that is not in Daylight
Saving Time.
Chuck
--
Chuck Hill Senior Consultant / VP Development
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