Closed 1mehdifaraji closed 5 months ago
I'm trying to use the isAfter function but I always get false from it:
isAfter
false
moment("۱۴۰۲/۱۲/۲۷").isAfter("۱۴۰۲/۱۲/۲۲");
How can I use isAfter and compare jalaali dates ? Thanks in advance. @behrang
Something like this:
moment('1402/12/27', 'jYYYY/jMM/jDD').isAfter(moment('1402/12/22', 'jYYYY/jMM/jDD'))
I'm trying to use the
isAfter
function but I always getfalse
from it:How can I use
isAfter
and compare jalaali dates ? Thanks in advance. @behrang