Match date formats in other languages

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Match date formats in other languages Fri Feb 05, 2021 10:58 am • by awaldraff
I live in a Spanish speaking country. Some of the documents I process have dates written in Spanish.

It was never an issue, until the last update. The date matching functionality somehow knew how to interpret dates written in alphabetic format such as Ene = Jan.

Not sure what changed but it stopped working with the latest update. Any ideas?
awaldraff
 
Posts: 32
Joined: Fri Sep 23, 2016 3:47 pm

Re: Match date formats in other languages Fri Feb 05, 2021 11:55 am • by Mr_Noodle
I don't recall changing anything on that front. Do you have Spanish in your system language list? Can you give a specific example of the text (as seen in Hazel's preview) and the pattern you are using?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Match date formats in other languages Fri Feb 05, 2021 12:50 pm • by awaldraff
Mr_Noodle wrote:I don't recall changing anything on that front. Do you have Spanish in your system language list? Can you give a specific example of the text (as seen in Hazel's preview) and the pattern you are using?


I do have spanish in my languages list in my Mac

here's an example:
This pattern: 9Ene2013
Is interpreted as 9/02/2013 but should be 09/01/2013

Could it be released;ated to the recent Big Sur (11.2) update?
awaldraff
 
Posts: 32
Joined: Fri Sep 23, 2016 3:47 pm

Re: Match date formats in other languages Sun Feb 07, 2021 10:37 am • by awaldraff
if it helps I noticed this entries in the log

2021-02-07 09:36:18.149 hazelworker[1629] Could not find month: AGO
2021-02-07 09:36:24.710 hazelworker[1629] Could not find month: DIC
awaldraff
 
Posts: 32
Joined: Fri Sep 23, 2016 3:47 pm

Re: Match date formats in other languages Mon Feb 08, 2021 11:14 am • by Mr_Noodle
Are you using automatic date detection? If so, I suggest specifying a pattern instead.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron