You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe the best solution is to create a ccmMoment method that checks for undefined and returns null instead of a moment representing right now?
The delegate crash course says "If you still end up missing the date of birth for a competitor, please leave it blank (i.e. "0000-00-00") and do not enter bogus dates such as "1900-01-01"."
We've got a few places where we construct a moment out of a dob:
Interestingly enough, when you pass undefined into moment, you get today:
Maybe the best solution is to create a
ccmMomentmethod that checks for undefined and returns null instead of a moment representing right now?The delegate crash course says "If you still end up missing the date of birth for a competitor, please leave it blank (i.e. "0000-00-00") and do not enter bogus dates such as "1900-01-01"."