Open RezaErfani67 opened 5 years ago
@RezaErfani67 That's not possible, your best bet is to go through all possible formats for your data, and provide an array of formats to moment.
but in reverse mode i can... moment(miladiDate).format('jYYYY-jMM-jDD');
if i pass 1 parameter to moment() and not specifying second parameter... it convert all formats to jalali...
how can i convert jalali date (with any formats) to miladi?