最佳答案
基本上,我想做一个 myMoment >= yourMoment。没有 myMoment.isSameOrAfter,写出来结合 isSame和 .isAfter有点长。
还有什么选择? 将瞬间转换为 js 日期,然后使用 >=进行比较?