Hi Modi,
I think the problem is that per default Date values are transferred in UTC (see
[1])
In the documentation they say "Clients and servers must adjust time accordingly
for time zones." So unfortunately you will probably have to do something here.
But it's not that difficult to implement a so-called property-proxy in which
you provide a custom (de)serialization on client and server. I wrote an article
on this. Unfortunately this is about serializing Enum types, but I think it
should get you started [2]
Hope that helps,
Chris
[1]
http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WSc3ff6d0ea77859461172e0811f00f6eab8-7ffdUpdate.html
[2]
https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+generated+AS3+model+with+Enum+support+using+BlazeDS
________________________________________
Von: manojModi <[email protected]>
Gesendet: Montag, 9. Mai 2016 19:01:23
An: [email protected]
Betreff: Re: AW: blazeDS time zone
Hi Chris,
BlazeDS automatically translate the time stamp between the client time zone
setting the server time zone.
is there an easy way to disable this time zone translation in BlazeDS?
so that if the date is stored in server (which has GMT time) as 1/1/2013
00:00:00, if the client is in PT -8, the client still get date as 1/1/2013
00:00:00
currently, the blazeDS automatically translate the time to 12/31/2012
16:00:00 because the client time zone is -8
please give me the sample app
Thanks
Modi
--
View this message in context:
http://apache-flex-development.2333347.n4.nabble.com/blazeDS-time-zone-tp29922p52928.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.