Docs
Invalid Dates
Make invalid-date behavior explicit, because it affects both UI and business logic edge cases.
Guidance
Failure Behavior Is Part Of The Contract
Invalid dates influence formatting, comparisons, branching, and sometimes error handling. Teams evaluating migration safety should compare invalid behavior directly rather than treating it as a low-probability corner.
How To Use This Doc
Use this page as a migration review aid rather than as a generic tutorial. If the behavior in this area is business-critical, compare it directly against your current moment.js usage and record the outcome before expanding rollout.