Open Nantris opened 4 years ago
It seems like that error would be somewhere in Moment. Twix is essentially doing this:
var startMoment = range.start();
var endMoment = range.end();
startMoment.from(endMoment);
And somehow, I'm guessing, inside of Moment's from
, there's an error calling humanize
internally. I can't imagine why that would happen, though.
It seems really weird, because
simpleFormat
works fine, buthumanizeLength
invariably fails with the errorTypeError: Cannot read property 'humanize' of undefined
Any thoughts? Thanks for this great project!