• Anonymize the text in the date format and display only the year. e.g. "2020-10-19" -> "2020-**-**"

    Parameters

    • text: string

    Returns string