Optional
inp: MomentInputOptional
strict: booleanStrict parsing disables the deprecated fallback to the native Date constructor when parsing a string.
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanStrict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanStrict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.
See
https://momentjs.com/docs/