solarnetwork-api-core
    Preparing search index...

    Function dateParser

    • Parse a UTC date string, from a variety of supported formats.

      Parameters

      • str: string

        the string to parse into a date

      Returns null | Date

      the parsed Date, or null if the date can't be parsed