Open MN767 opened 6 years ago
I think your problem is for updating moment
Please read page https://www.npmjs.com/package/moment of section Upgrading to 2.0.0
moment.humanizeDuration()
in favor of moment.duration().humanize()
.I have the same problem.
Couldn't reproduce this. Can you run npm test
in a checked out directory and send the results?
@mrsoftware downgrade to "moment-jalaali": "^0.5.1"
to solve the problem
I'm using
"moment-jalaali": "^0.7.4"
When I usemoment.loadPersian({dialect: 'persian-modern'})
, I make a mistake error:Cannot read property 'humanize' of undefined
my code: