@rogerpence/rp-utils
    Preparing search index...

    Function convertFrontmatterDateStrings

    • Converts date-like string values in a Frontmatter object to Date objects Supports patterns: YYYY-MM-DD and YYYY-MM-DD HH:MM

      Type Parameters

      • T extends Record<string, any>

      Parameters

      • obj: T

        The object to process

      Returns T

      A new object with date strings converted to Date objects