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

Selecting 09/30/2014 23:59 on DateTimeItem with Timezone of London, UK displays Oct.

$
0
0
Version: 10.0p Build 2014-09-10

Reproducible in the SmartClient JS demo here: https://smartclient.com/#dateItem

Steps:
1) Set local timezone to London, UK.

2) Run the following code.
Code:

isc.Time.setDefaultDisplayTimezone("-0:00");

isc.DynamicForm.create({
    ID: "dateForm",
    numCols: 4,   
    width: 600,
    fields: [
        {name:"directInputDate", title:"Direct Input Date", type:"dateTime", useTextField:true}
    ]
});

3) Select Sept. 30, 2014 23:59.

4) Click on the DateTime picker again and notice the Month displayed. It will say Oct (with 30 days).

Viewing all articles
Browse latest Browse all 4756