@blockchaincommons/provenance-mark - v1.0.0-beta.3
    Preparing search index...

    Function dateFromIso8601

    • The reference's Date::from_string: RFC 3339 with a zone (Z or an offset; fractions kept to the millisecond), or a bare YYYY-MM-DD read as UTC midnight, calendar-checked. Anything else (a time without a zone, prose, an impossible date, an epoch number) is InvalidDate.

      Parameters

      • str: string

      Returns Date