Dijit TextBox Globalization Test for Time

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.

Time Format

Test DescriptionTestExpectedResultComment
Locale: ru_RU Format: short15:25 Compare (Escaped)
Locale: ru_RU Format: medium15:25:35 Compare (Escaped)
Locale: ru_RU Format: long
Locale: ru_RU Format: Full
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: ar_EG Format: short
Locale: ar_EG Format: medium
Locale: ar_EG Format: long
Locale: ar_EG Format: Full
Locale: hi_IN Format: short
Locale: hi_IN Format: medium
Locale: hi_IN Format: long
Locale: hi_IN Format: Full

Time Validate

Test DescriptionTestInputParsed ValueExpectedResultComment
Locale: ru_RU Format: shortCorrect
Locale: ru_RU Format: mediumCorrect
Locale: ru_RU Format: longCorrect
Locale: ru_RU Format: FullCorrect
Locale: zh_CN Format: shortCorrect
Locale: zh_CN Format: mediumCorrect
Locale: zh_CN Format: longCorrect
Locale: zh_CN Format: FullCorrect
Locale: en_US Format: shortCorrect
Locale: en_US Format: mediumCorrect
Locale: en_US Format: longCorrect
Locale: en_US Format: FullCorrect
Locale: fr_FR Format: shortCorrect
Locale: fr_FR Format: mediumCorrect
Locale: fr_FR Format: longCorrect
Locale: fr_FR Format: FullCorrect
Locale: ja_JP Format: shortCorrect
Locale: ja_JP Format: mediumCorrect
Locale: ja_JP Format: longCorrect
Locale: ja_JP Format: FullCorrect
Locale: ar_EG Format: shortCorrect
Locale: ar_EG Format: mediumCorrect
Locale: ar_EG Format: longCorrect
Locale: ar_EG Format: FullCorrect
Locale: hi_IN Format: shortCorrect
Locale: hi_IN Format: mediumCorrect
Locale: hi_IN Format: longCorrect
Locale: hi_IN Format: FullCorrect