Ticket #6051 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

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

JQuery_dp.PNG Download (15.9 KB) - added by runatServer 4 years ago.

Change History

Changed 4 years ago by runatServer

comment:1 Changed 4 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 4 years ago by scott.gonzalez

  • Priority changed from critical to major

comment:3 Changed 3 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 3 years 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 3 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 3 years ago by scott.gonzalez

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