You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by xianwinwin <xi...@gmail.com> on 2008/11/03 22:19:42 UTC

s2: datetimepicker return incorrect time result

I have the following code:

<s:datetimepicker 	name="flight.departureTime"
				toggleType="wipe"  	     
				toggleDuration="200"    								 
				displayFormat="HH:mm a" 
				type="time" 
				label="Deparuture Time"
				required="false" 	/>

When populating the info of flight.departureTime the result is always 12:00
AM

Does anyone know why? 

* the flight.departureDate is 14:00 PM (I verified it with debugging)
* I tried displayFormat="h:mm a"  (same result) 


Thank you!
-- 
View this message in context: http://www.nabble.com/s2%3A--datetimepicker-return-incorrect-time-result-tp20311095p20311095.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org