SyntaxFix
Write A Post
Hire A Developer
Questions
Meanwhile you can use the isSameOrAfter method:
isSameOrAfter
moment('2010-10-20').isSameOrAfter('2010-10-20', 'day');
Docs: https://momentjs.com/docs/#/query/is-same-or-after/