Skip to main content

Search and Top Navigation

#6051 closed bug (fixed)

Opened September 15, 2010 11:14AM UTC

Closed February 01, 2012 09:20PM UTC

Last modified February 01, 2012 09:21PM UTC

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:
Blocked by: Blocking:
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 (1)
  • JQuery_dp.PNG (15.9 KB) - added by runatServer September 15, 2010 11:15AM UTC.
Change History (6)

Changed September 15, 2010 10:43PM UTC by kbwood comment:1

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']});

Changed October 19, 2010 04:04PM UTC by scottgonzalez comment:2

priority: criticalmajor

Changed February 01, 2012 07:54PM UTC by klev comment:3

Created pull request: modified monthNamesShort from month numbers to month names.

https://github.com/jquery/jquery-ui/pull/589

monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני',
		'יולי','אוג','ספט','אוק','נוב','דצמ'],

Changed February 01, 2012 09:20PM UTC by levushka comment:4

resolution: → fixed
status: newclosed

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

Changed February 01, 2012 09:21PM UTC by levushka comment:5

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

Changed February 01, 2012 09:21PM UTC by scottgonzalez comment:6

milestone: TBD1.8.18