zeed
    Preparing search index...

    Function parseDate

    • Parses the given date candidates and returns the first valid Date object found.

      Parameters

      • ...dateCandidates: (string | Date)[]

        The date candidates to parse, which can be either strings or Date objects.

      Returns Date | undefined

      The parsed Date object, or undefined if no valid date is found.