Ticket #6051 (closed bug: fixed)
Hebrew and Arabic: Instead of the month name indicates the month number!
| Reported by: | runatServer | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.8.18 |
| Component: | ui.datepicker | Version: | 1.8.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
My code:
<script src="scripts/ui/i18n/jquery.ui.datepicker-he.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
//<![CDATA[
$(document).ready(function () {
$("#BirthDate").datepicker(
{
changeMonth: true,
changeYear: true,
showMonthAfterYear: true
}
);
});
//]]>
</script>
Attachments
Change History
comment:1 Changed 3 years ago by kbwood
If you can provide short versions of the month names for these two languages they can be changed.
Meanwhile you can override the values when creating the datepicker:
$("#BirthDate").datepicker({
changeMonth: true, changeYear: true, showMonthAfterYear: true,
monthNamesShort: ['?1','?2','?3','?4','?5','?6','?7','?8','?9','?10','?11','?12']});
comment:3 Changed 17 months ago by klev
Created pull request: modified monthNamesShort from month numbers to month names. https://github.com/jquery/jquery-ui/pull/589
monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני', 'יולי','אוג','ספט','אוק','נוב','דצמ'],
comment:4 Changed 17 months ago by levushka
- Status changed from new to closed
- Resolution set to fixed
Datepicker i18n: Changed Hebrew monthNamesShort from number to names. Fixes #6051 - Hebrew and Arabic: Instead of the month name indicates the month number!
Changeset: e496cde384d1497993394f04110ef8099d256eee
comment:5 Changed 17 months ago by levushka
Datepicker i18n: Changed Hebrew monthNamesShort from number to names. Fixes #6051 - Hebrew and Arabic: Instead of the month name indicates the month number! (cherry picked from commit e496cde384d1497993394f04110ef8099d256eee)
Changeset: 28668948df6d53bb1cfb9f8a6823c73309172204


