Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can I change the months label to Dari/Farsi for Afghanistan? #225

Open
asifgulistani opened this issue Oct 13, 2021 · 6 comments
Open

Comments

@asifgulistani
Copy link

The following list is the month's name in order.
'حمل_ثور_جوزا_سرطان_اسد_سنبله_میزان_عقرب_قوس_جدی_دلو_حوت'
Is there any way to globally config these month's names?

@behrang
Copy link
Member

behrang commented Oct 15, 2021

Read moment's doc here for month customization: #225
It may work.

I'm curious to know whether Persian calendar in Iran and Afghanistan are the same. To my knowledge, Jalaali algorithm and its breakpoints is based on Tehran time. I don't know if it's the same for Afghanistan or not. Do you know?

@asifgulistani
Copy link
Author

Yes, in Afghanistan we use Shamsi calendar as same they use in Iran but with different month name like they say فروردین ,we say حمل.

For your more information…
Afghanistan has two national languages

  1. Dari/Persian
  2. Pashto
    Fortunately the both language Shamsi Calendar with Kabul time zone.
    Months name in Dari and Pashto are listed Here
    https://fa.m.wikipedia.org/wiki/%D8%A7%D9%84%DA%AF%D9%88:%D9%85%D8%A7%D9%87%E2%80%8C%D9%87%D8%A7%DB%8C_%D9%87%D8%AC%D8%B1%DB%8C_%D8%AE%D9%88%D8%B1%D8%B4%DB%8C%D8%AF%DB%8C

@behrang
Copy link
Member

behrang commented Oct 18, 2021 via email

@asifgulistani
Copy link
Author

Yes, they completely match. As mentioned earlier, the only difference is the months name.

@behrang
Copy link
Member

behrang commented Oct 19, 2021 via email

@nabc
Copy link
Contributor

nabc commented Nov 30, 2021

Hi, you can customize month name using moment's updateLocale, read more in here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants