Switching AM/PM in ASP.NET AJAX MaskedEdit localization
Posted
by Greg
on Stack Overflow
See other posts from Stack Overflow
or by Greg
Published on 2010-03-16T22:07:50Z
Indexed on
2010/03/16
22:11 UTC
Read the original article
Hit count: 361
The sample page for the MaskedEdit says "Tip: Type 'A' or 'P' to switch AM/PM". Are these keys hardcoded? Does the control automatically change itself for cultures that use 12-hour designators that don't start with A or P? Or is just broken for those?
example:
Arabic (Saudi Arabia) - AM: ?
Arabic (Saudi Arabia) - PM: ?
Chinese (Taiwan) - AM: ??
Chinese (Taiwan) - PM: ??
Greek (Greece) - AM: pµ
Greek (Greece) - PM: µµ
Korean (Korea) - AM: ??
Korean (Korea) - PM: ??
Albanian (Albania) - AM: PD
Albanian (Albania) - PM: MD
Persian (Iran) - AM: ?.?
Persian (Iran) - PM: ?.?
Vietnamese (Vietnam) - AM: SA
Vietnamese (Vietnam) - PM: CH
Afrikaans (South Africa) - PM: nm
Punjabi (India) - AM: ?????
Punjabi (India) - PM: ???
Syriac (Syria) - AM: ?.?
Syriac (Syria) - PM: ?.?
If this control doesn't handle this situation, does anyone know of a control that does?
© Stack Overflow or respective owner