Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

DateChooser is incrementing the day of month

$
0
0
SmartClient Version: SNAPSHOT_v9.1d_2014-01-24/Enterprise Deployment (built 2014-01-24)
FireFox 26


I am calling the DateChooser.setData (d) where 'd' is a Date with a value of Tue Feb 11 23:59:00 UTC 2014.

The DateChooser is displaying Feb 12 2014, effectively adding a day when it should not be.

My local timezone is UTC+01:00 so I am assuming the DateChooser is converting the passed date to the local date and hence the day value of 12 rather than 11. However in my application all date values are UTC based, the user enters UTC dates and we display what the user enters. What can I do to prevent the DateChooser from performing this conversion?

Thanks

Viewing all articles
Browse latest Browse all 4756

Trending Articles