struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xianwinwin <xianwin...@gmail.com>
Subject s2: datetimepicker return incorrect time result
Date Mon, 03 Nov 2008 21:19:42 GMT

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


Mime
View raw message