Oldestman57
Posts: 0
Joined: Thu Mar 31, 2016 9:15 pm

Date label day and date are one day behind current date and day.

I used a load page event to run the following java script.
Image

I recently added the set.utc, didn't help.
When I open the screen on the app it displays the day and date one day behind.

Image

These push alerts were sent on Thursday the ninth.
Any help would be appreciated.
Thanks,

Carl

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Date label day and date are one day behind current date and day.

Hello,

Please use the library "moment.js" to manage dates. It is light and pretty simple to use

Oldestman57
Posts: 0
Joined: Thu Mar 31, 2016 9:15 pm

Date label day and date are one day behind current date and day.

Thanks, will I need to download moments.js and include it in the resources library?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Date label day and date are one day behind current date and day.

Yes, please add it as a JS library (Create new-JavaScript)

Oldestman57
Posts: 0
Joined: Thu Mar 31, 2016 9:15 pm

Date label day and date are one day behind current date and day.

Thanks, i will give it a try

Return to “Issues”