Dijit TextBox Globalization Test for Date

Before start this test, make sure the dojo/cldr/nls contains the data for "zh-cn", "fr-fr", "ja-jp", "ru-ru", "hi-in", "en-us" and "ar-eg". If not, convert these CLDR data and put them there.

Date Format

Test DescriptionTestExpectedResultComment
Locale: ru_RU Format: Short
31.07.2005 Compare (Escaped)
Locale: ru_RU Format: Medium
31.07.2005 Compare (Escaped)
Locale: ru_RU Format: Long
Failed in Firefox. See #1 (currency.html).
Locale: ru_RU Format: Full
Failed in Firefox. See #1 (currency.html).
Locale: zh_CN Format: Short
Locale: zh_CN Format: Medium
Locale: zh_CN Format: Long
Locale: zh_CN Format: Full
Locale: en_US Format: Short
Locale: en_US Format: Medium
Locale: en_US Format: Long
Locale: en_US Format: Full
Locale: fr_FR Format: Short
Locale: fr_FR Format: Medium
Locale: fr_FR Format: Long
Locale: fr_FR Format: Full
Locale: ja_JP Format: Short
Locale: ja_JP Format: Medium
Locale: ja_JP Format: Long
Locale: ja_JP Format: Full
Locale: de_DE Format: Short
Locale: de_DE Format: Medium
Locale: de_DE Format: Long
Locale: de_DE Format: Full
Locale: es_ES Format: Short
Locale: es_ES Format: Medium
Locale: es_ES Format: Long
Locale: es_ES Format: Full
Locale: pt-BR Format: Short
Locale: pt-BR Format: Medium
Locale: pt-BR Format: Long
Locale: pt-BR Format: Full
Locale: it-IT Format: Short
Locale: it-IT Format: Medium
Locale: it-IT Format: Long
Locale: it-IT Format: Full
Locale: ko-KR Format: Short
Locale: ko-KR Format: Medium
Locale: ko-KR Format: Long
Locale: ko-KR Format: Full
Locale: zh-TW Format: Short
Locale: zh-TW Format: Medium
Locale: zh-TW Format: Long
Locale: zh-TW Format: Full

Date Validate

Test DescriptionTestInputParsed ValueExpectedResultComment
Locale: ru_RU Format: Short
Correct
Locale: ru_RU Format: Medium
Correct
Locale: ru_RU Format: Long
CorrectFailed in Firefox. See #1 (currency.html).
Locale: ru_RU Format: Full
CorrectFailed in Firefox. See #1 (currency.html).
Locale: zh_CN Format: Short
Correct
Locale: zh_CN Format: Medium
Correct
Locale: zh_CN Format: Long
Correct
Locale: zh_CN Format: Full
Correct
Locale: en_US Format: Short
Correct
Locale: en_US Format: Medium
Correct
Locale: en_US Format: Long
Correct
Locale: en_US Format: Full
Correct
Locale: fr_FR Format: Short
Correct
Locale: fr_FR Format: Medium
Correct
Locale: fr_FR Format: Long
Correct
Locale: fr_FR Format: Full
Correct
Locale: ja_JP Format: Short
Correct
Locale: ja_JP Format: Medium
Correct
Locale: ja_JP Format: Long
Correct
Locale: ja_JP Format: Full
Correct
Locale: de_DE Format: Short
Correct
Locale: de_DE Format: Medium
Correct
Locale: de_DE Format: Long
Correct
Locale: de_DE Format: Full
Correct
Locale: es_ES Format: Short
Correct
Locale: es_ES Format: Medium
Correct
Locale: es_ES Format: Long
Correct
Locale: es_ES Format: Full
Correct
Locale: pt-BR Format: Short
Correct
Locale: pt-BR Format: Medium
Correct
Locale: pt-BR Format: Long
Correct
Locale: pt-BR Format: Full
Correct
Locale: it-IT Format: Short
Correct
Locale: it-IT Format: Medium
Correct
Locale: it-IT Format: Long
Correct
Locale: it-IT Format: Full
Correct
Locale: ko-KR Format: Short
Correct
Locale: ko-KR Format: Medium
Correct
Locale: ko-KR Format: Long
Correct
Locale: ko-KR Format: Full
Correct
Locale: zh-TW Format: Short
Correct
Locale: zh-TW Format: Medium
Correct
Locale: zh-TW Format: Long
Correct
Locale: zh-TW Format: Full
Correct