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

Week name #196

Open
miladmodaresi opened this issue Feb 24, 2020 · 4 comments
Open

Week name #196

miladmodaresi opened this issue Feb 24, 2020 · 4 comments

Comments

@miladmodaresi
Copy link

Hello
how can I get the week name?
for example:
result of moment(ts).format('dddd') in the moment js is Sunday
but I want when I call that code execute
یکشنبه

@behrang
Copy link
Member

behrang commented Feb 24, 2020 via email

@alishefaee
Copy link

How to use Miladi and Shamsi the same time? ( I need both sunday and یکشنبه)
like m.format('dddd') // sunday
m.format('jDDDD') // یکشنبه

@behrang
Copy link
Member

behrang commented Sep 3, 2021 via email

@behrang
Copy link
Member

behrang commented Sep 3, 2021

No, sorry, my previous comment is wrong. There is no easy way for what you need, since loadPersian changes the language globally.

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