We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please check this out.
const moment = require("moment"); const momentJalaali = require("moment-jalaali"); // It defines Jalaali momentJalaali.loadPersian({ usePersianDigits: false, dialect: "persian-modern" }); // Revert default locale. moment.locale("en"); console.log(momentJalaali.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)
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
jalali-moment has recently fixed it. I wish I could help, but I'm busy these days, sorry.
jalali-moment
No branches or pull requests
Please check this out.
Output
The text was updated successfully, but these errors were encountered: