jalali moment for browser

علی ذوالفقار
1399/05/06 17:11:36 (479)
lib :
https://unpkg.com/jalali-moment@3.3.8/dist/jalali-moment.browser.js

usage :
moment(new Date()).format('jYYYY/jM/jD');
moment(new Date()).locale('fa').subtract(1,'month').format('YYYY/MM/DD');
moment(new Date()).locale('fa').add(1,'day').format('YYYY/MM/DD');
Back