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.
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.