Function addFormatTime

Adds time formats to the configuration object.

  • Parameters

    • formats: object

      The time formats to add.

    Returns boolean

    True if added correctly, false otherwise.