I have this question... I haven't found anything similar and it also seems very strange that nobody had this problem validating time with moment.js.
moment('03:55', 'HH:mm').isValid(); //true
moment('03:55jojojo', 'HH:mm').isValid(); //true
moment('03:55jojojo', 'HH:mm',true).isValid(); //true
我做错什么了吗? 下面是一个示例: