[ http://issues.apache.org/jira/browse/MYFACES-589?page=all ] Martin Marinschek closed MYFACES-589: -------------------------------------
Fix Version: Nightly Resolution: Fixed > inputCalendar localized month names problem > ------------------------------------------- > > Key: MYFACES-589 > URL: http://issues.apache.org/jira/browse/MYFACES-589 > Project: MyFaces > Type: Bug > Components: Tomahawk, Implementation > Reporter: Tomas Havelka > Assignee: Martin Marinschek > Fix For: Nightly > > When popup calendar renders text like "Today is <date>", if date comes from > localized month names array 'jscalendarMonthName', so javascript goes render > something like ... + jscalendarMonthName[jscalendarMonthNow].substring(0,3) + > ... as the month name, but it works just in non diacritic languages such as > english, but when some other non-english character apperas in month name it > goes wrong output because of character replacing by its appropriate entity > (for example á for character รก from czech language) and js substring > function. > The easiest solution is to remove substring function from javascript. > Another one is to add parameter such as popupTodayFormat similar to > popupDateFormat to format this text manually and let javascript just to write > this formatted string with prefix text given by popupTodayString parameter. > With regards > Tom -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira