Opened 12 years ago

Closed 12 years ago

#4718 closed enhancement (fixed)

TimeTextBox: Improve user input parsing

Reported by: guest Owned by: Adam Peller
Priority: low Milestone: 1.0
Component: Core Version: 0.9
Keywords: TimeTextBox Cc:
Blocked By: Blocking:

Description

TimeTextBox? is very picky about having a space before the AM/PM.

The widget should automatically format something like "3:30pm" as "3:30 PM"

Currently the widget considers the first invalid.

Change History (3)

comment:1 Changed 12 years ago by guest

Also, it should correctly convert 24-hour formatted times.

comment:2 Changed 12 years ago by Adam Peller

Component: DijitCore
Owner: set to Adam Peller

this should probably be considered for the dojo.date.parse method, which this widget relies on.

comment:3 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [10822]) Tolerate no space before am/pm in parse. Fixes #4718

Note: See TracTickets for help on using tickets.