@nextcloud/moment

    Function default

    • Parameters

      • Optionalinp: MomentInput
      • Optionalstrict: boolean

        Strict parsing disables the deprecated fallback to the native Date constructor when parsing a string.

      Returns Moment

    • Parameters

      • Optionalinp: MomentInput
      • Optionalformat: MomentFormatSpecification
      • Optionalstrict: boolean

        Strict 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.

      Returns Moment

    • Parameters

      • Optionalinp: MomentInput
      • Optionalformat: MomentFormatSpecification
      • Optionallanguage: string
      • Optionalstrict: boolean

        Strict 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.

      Returns Moment

    MMNEPVFCICPMFPCPTTAAATR