Page 4 of 5

Changing the generated time

Posted: Tue Jul 15, 2014 4:11 am
by Yurii Orishchuk

Lim,

You can use this JS code in all places where you need to convert time from one time zone to another.

Regards.


Changing the generated time

Posted: Tue Jul 15, 2014 6:33 am
by Lim Samantha

Hi, i have added in the codes but it still does not change to my time zone.

Image


Changing the generated time

Posted: Tue Jul 15, 2014 10:09 pm
by Yurii Orishchuk

Hi Lim,

I guess you need make this conversion in the datasource mapping.

See details on screen shot: http://prntscr.com/431yvj/direct

In this section of code you need make converting logic and return converted value.

Also you can read more about it here: http://devcenter.appery.io/tutorials/...

Regards.


Changing the generated time

Posted: Wed Jul 16, 2014 4:01 am
by Lim Samantha

So in my case am i suppose to add in the mobilegrid_13?
When i added the codes, it still does not work. Image


Changing the generated time

Posted: Wed Jul 16, 2014 11:59 pm
by Yurii Orishchuk

Hi Lim,

you need add converting code in place where you need.

For example in "date" component. See details: http://prntscr.com/43f8i5/direct

Regards.


Changing the generated time

Posted: Thu Jul 17, 2014 6:21 am
by Lim Samantha

Hi, have added in the codes.

Image


Changing the generated time

Posted: Thu Jul 17, 2014 6:38 am
by Evgene Karachevtsev

Hello Lim,

Could you please clarify, do you need Support Team to help?


Changing the generated time

Posted: Thu Jul 17, 2014 6:44 am
by Lim Samantha

Yes please as i still could not generate my timezone.


Changing the generated time

Posted: Thu Jul 17, 2014 9:27 pm
by Yurii Orishchuk

Hi Lim,

Please specify what exactly problem you have now.

Is there any js errors in browser console?

Regards.


Changing the generated time

Posted: Fri Jul 18, 2014 3:09 am
by Lim Samantha

Errors shown after adding in the converting time codes

https://d2r1vs3d9006ap.cloudfront.net...