Function localDateUrlFormat

  • Format a date into a SolarNet URL local date/time format: yyyy-MM-dd'T'HH:mm or ``yyyy-MM-dd` if both the hours and minutes of the date are zero.

    Parameters

    • date: Date

      the date to format

    Returns string

    the formatted date

Generated using TypeDoc