[fix] Fix incorrect && logic with || logic in isBeforeMoment method.
[fix] Fix incorrect && logic with || logic in isBeforeMoment method.

yannickl/YLMoment,samwize/YLMoment,strictlyd/YLMoment,samwize/YLMoment,yannickl/YLMoment,strictlyd/YLMoment,samwize/YLMoment