Date displayed on app page is one day behind the date chosen in date picker on instantiation form

1
0
-1

The date field shows up a day behind on my app page. I use the Today button and it's correct in the instantiation form, but displays as yesterday in the table widget on the app page. Same thing if I choose another date in the date picker. I scoured the forum and found that it seems related to the Time Zone, but I haven't found a solution other that change the time zone to UTC on my PC.

Is there a way to display or store the date in the local timezone instead of UTC?

1 answer

1
0
-1

Yes - I have seen this too, and it's related to the timezone and is aggravated by the change over from summer to "normal" time and back. The problem is that Bonita actually saves the DATE as a TIME (in M seconds since the epoch) and chooses midnight for the purpose (midday would have been a safe bet).

In the end I resorted to storing the date in a string and providing three numeric fields on the form for day/month/year.

Short of hacking the date picker, I dont think there is anything else you can do about it.

Chris

Notifications