Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#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:
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>

Change History (6)

comment:1 Changed 6 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:2 Changed 6 years ago by scottgonzalez

  • Priority changed from critical to major

comment:3 Changed 4 years 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 4 years ago by levushka

  • Resolution set to fixed
  • Status changed from new to closed

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 4 years 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

comment:6 Changed 4 years ago by scottgonzalez

  • Milestone changed from TBD to 1.8.18
Note: See TracTickets for help on using tickets.