Closed meness closed 4 years ago
Please check this out.
const moment = require("moment"); const jalaliMoment = require("jalali-moment"); console.log(jalaliMoment.utc("09:30", "HH:mm").toDate()); console.log(moment.utc("09:30", "HH:mm").toDate());
Output
Sat Jan 01 0000 12:55:44 GMT+0325 (Iran Standard Time) Tue May 19 2020 14:00:00 GMT+0430 (Iran Daylight Time)
Its fixed in master branch, please check.
Thanks for the quick fix 👍 Please release a beta/stable version If tests pass then I can install through NPM
Please check this out.
Output