on 02-01-2013 3:48 AM
Hi All,
i am facing the timezone issue in the ios app.
because the field format is date type, when we set it as 2012-12-31 in app, the CDB will transform automatically with 2012-12-30
i already set the server's timezone is GMT and the date default in IOS app i think it's UTC, in this case how could this kind of gap happen?
please help, thanks a lot
Regards
Lawrensh
I would expect that the device OS configured time zone does not reflect in the way how the ObjectAPI does handle time fields. The data time format inside the MBO's is probably some thing either defautl that can not be changed so you have to do that programmatically. Or did you find any indictation in the docs that this is different?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What type of a client are you using? Is it a native app or a hybrid app aka mobile workflow?
For a Hybrid App, a datetime type is converted to a UTC datetime when it is sent from the device. If that row is then viewed by another device in another timezone, the datetime will be converted from a UTC datatime to a local datetime.
I believe there is a setting to turn that functionality on or off via the convert to UTC setting on the parameter mapping tab of an operation for a datetime field.
Regards,
Dan van Leeuwen
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.