Opened 11 years ago
Closed 11 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: |
Description
Testing type: Globalization
Steps to reproduce:
- Change the locale to Spanish (Mexico):
- Open Regional and Language Options on Control Panel.
- In the "Regional Options" tab, select Spanish (Mexico) from the combo box.
- Click the Apply button
- 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="" />
</div>
Attachments (1)
Change History (2)
Changed 11 years ago by
Attachment: | TimeTextBox001.JPG added |
---|
comment:1 Changed 11 years ago by
Cc: | [email protected]… added |
---|---|
Component: | General → Internationalization |
Resolution: | → invalid |
Status: | new → closed |
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.
Image