My Hazel rule examines a PDF file looking for, among other things, content contains match <token name>. The token is specified to be "Automatically detect date format". The date that it finds is "04/08/2021". When I use the token in renaming the file, it is reported as "2023-08-21". There is no date in the file that can be interpreted in that way, as you might suspect, since the file was generated in 2021. I examined the file in Text Edit to discover that.
This same thing happens on one other file. The files are pretty much the same and exactly the same with the date. One file is reporting information on me and the other file is reporting information on my wife. Both files come from the same insurance company.
Spotlight searching for the text "04/08/2021" finds the file.
Help!!