Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Allow conversion of month names to month numbers #9

Open
Huji opened this issue May 12, 2019 · 0 comments
Open

Allow conversion of month names to month numbers #9

Huji opened this issue May 12, 2019 · 0 comments
Assignees

Comments

@Huji
Copy link

Huji commented May 12, 2019

While jdatetime defines MONTH_NAMES_FA and similar constants, they are not accessible directly through any methods. It would be great if we had a method that would accept the string 'خرداد' and would return the number 3.

Ideally, similar methods should be also available to get the month number given the transliterated month names (for 'Khordad' return 3), and for the days of the week.

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

No branches or pull requests

2 participants