Skip to content

Datepicker Localization Bug: Arabic Months Short Names Displayed as Numbers #2302

Open
@raghoottamkatti

Description

@raghoottamkatti

I am experiencing an issue with the jQuery datepicker when the localization is set to "ar" (Arabic). Instead of showing the short names for the months, the datepicker displays them as numbers (1, 2, 3, etc.).

Steps to Reproduce:

  1. Initialize the jQuery datepicker with the following settings:
    javascript
    $('#datepicker').datepicker({
    dateFormat: 'mm/dd/yy',
    changeMonth: true,
    changeYear: true,
    regional: 'ar' // Arabic localization
    });
  2. Open the datepicker.
  3. Observe the month short names displayed.

Expected Behavior:
The month short names should be displayed as:

  • ين (Jan)
  • فب (Feb)
  • مار (Mar)
  • إب (Apr)
  • ماي (May)
  • يون (Jun)
  • يول (Jul)
  • أغس (Aug)
  • سب (Sep)
  • أكت (Oct)
  • نوف (Nov)
  • ديس (Dec)

Actual Behavior:
The month short names are displayed as numbers (1, 2, 3, ...).

image
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions