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

DateTimeItem PickerTimeItem 12:## AM Problem

$
0
0
SNAPSHOT_v9.1d_2013-07-12/PowerEdition
Chrome 34.0.1847.131
FireFox 26.0
Client Side Problem
No Error Reported by System

Reproduce:
DateTimeItem item = new DateTimeItem();
item.setUse24HourTime(false);
item.setShowPickerTimeItem(true);
item.setType("datetime");

Set the time on any date to 12:## AM (where ## is any minute) and click "Apply". The resulting time appears to be changed to 12:## PM.

The problem does not occur if you set the time on any date to 1:## AM and click "Apply". The resulting time is unaltered and remains 1:## AM.

If you change to item.setUse24HourTime(true) the problem does not occur (however, our users prefer the AM/PM selection and 12 hour clock).

Viewing all articles
Browse latest Browse all 4756

Trending Articles