Opened 10 years ago
Closed 10 years ago
#15502 closed defect (duplicate)
Arabic locale formatting of date does not convert date and year
Reported by: | kalai79 | Owned by: | Adam Peller |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Date | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Localizing date using dojo.date.locale.format, in Arabic locale does not format the date completely in Arabic.
dojo.require("dojo.date.locale"); var date = new Date() var formattedDate = dojo.date.locale.format(date, {selector:"date", formatLength:"long", locale:"ar" });
Actual Result: 13 يونيو، 2012
Expected Result: ١٣ يونيو، ٢٠١٢
Note: See
TracTickets for help on using
tickets.
see #3809 As a result, the date will only render in the correct order in RTL or with RTL overrides.