To be able to show Thai date correctly, there needs to be language change and also Thai year is equal to year + 543.
Language change is easy, primevue allows locale options on day and month names.
But if I change the year directly to year + 543, calendar will show an incorrect month panel.
For example, Nov 5, 2022 is 5 (thai month) 2565
If I just add 543 to year then it will show the month panel of November 2565 which is not the same month panel of November 2022.
How do I modify month panel to display year + 543 correctly?
Calendar for Thai date
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests