vue3-persian-datepicker icon indicating copy to clipboard operation
vue3-persian-datepicker copied to clipboard

Display format localization

Open CyberMullah opened this issue 1 year ago • 3 comments

While there is a custom local config, the display format is never localized. As you see in the below image, the display at bottom of the modal should be the same as a localized name but it never changes.

It happens with Jalali status as well.

Any attribute to make those localized as well?

Thanks

image

CyberMullah avatar Mar 29 '24 01:03 CyberMullah

@alireza-ab Did you find any chance to see this issue? Any alternative solution to make them localized? Thanks in advance

CyberMullah avatar Apr 01 '24 13:04 CyberMullah

Hi @hamidafghan I am so sorry about the late. I was so busy and couldn't read the issues. This bug is from the persian-date package. The footer dates change with displayFormat and persian-date render it. The months you set in localeConfigs are being used in datepicker but they didn't get used in persian-date. I'm gonna fix this as soon as I can. I apologize again.

alireza-ab avatar Apr 27 '24 14:04 alireza-ab

Thanks for response.

CyberMullah avatar Apr 27 '24 16:04 CyberMullah