rendercv2yamlresume
    Preparing search index...

    Function mapDate

    • Convert a RenderCV date value into the string YAMLResume expects.

      RenderCV restricts these fields to YYYY, YYYY-MM, YYYY-MM-DD or the literal present. YAMLResume accepts any string Date.parse understands, so the value is passed through untouched, with present dropped because YAMLResume renders an empty endDate as "Present".

      Parameters

      • value: string | number

        The date from RenderCV.

      Returns string

      The date string, or undefined when the field should be omitted.