Opened 12 years ago

Closed 12 years ago

#11315 closed defect (invalid)

Time is not displayed according to the system's locale.

Reported by: Enrique Rafael Muñoz Flores Owned by: anonymous
Priority: high Milestone: tbd
Component: Internationalization Version: 1.5.0b2
Keywords: Cc: [email protected]
Blocked By: Blocking:


Testing type: Globalization

Steps to reproduce:

  1. Change the locale to Spanish (Mexico):
    1. Open Regional and Language Options on Control Panel.
    2. In the "Regional Options" tab, select Spanish (Mexico) from the combo box.
    3. Click the Apply button
  2. Restart IE8.

Expected results: time should change to match regional settings. In the case of Mexico, time should appear as 5:45 p.m. Actual Result: Time is displayed as 17:45. See Image 1.

This is the html used <div class="testExample">

<input id="q2" type="text" name="time1a" value="T17:45:00"

dojoType="dijit.form.TimeTextBox?" constraints="{formatLength:'long'}" required="true" invalidMessage="" />


Attachments (1)

TimeTextBox001.JPG (112.1 KB) - added by Enrique Rafael Muñoz Flores 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Enrique Rafael Muñoz Flores

Attachment: TimeTextBox001.JPG added


comment:1 Changed 12 years ago by Adam Peller

Cc: [email protected] added
Component: GeneralInternationalization
Resolution: invalid
Status: newclosed

As mentioned in the internal ticket, the results should not be expected to match the Microsoft Window OS formats, but that provided by the CLDR, which provides a 'long' date format of "HH:mm:ss z" for all Spanish-based locales. There is no pattern provided for Mexico or any other Spanish variant. If that is incorrect, please file a ticket with the CLDR.

Note: See TracTickets for help on using tickets.