I am trying to mask dates from a body of text using the Text Analytics PII API and understand to do so I can use the DateTime category. The category masks dates just fine, but I want to keep phrases such as 'yesterday' and 'last week' unmasked. I tried using the subcategory "Date" which is supposed to mask only calendar dates, but the input "November 22nd 1987" does not get masked in the output.
Any guidance on what the Date subcategory actually masks? And is there any advice on how to mask dates but not times of day?