Date matching bug

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

Moderator: Mr_Noodle

Date matching bug Mon Sep 26, 2016 8:42 pm • by deanpribetic
Hey there,

Using version 4.0.6 and macOS Sierra 10.12.

I get bank statements that are in the format:

Code: Select all
ACCOUNTNUMBER-DATE


where DATE is in the format 'ddmmmyyyy' (i.e. no spaces, month name is short name).

I have a rule that looks for that date on the name in the format

Code: Select all
ANYTHING-DATEMATCH


Matching as '31Dec.1999'.

Since upgrading to macOS Sierra, this no longer matches. I have tried replacing the month component with 'Anything' and it will now match.

Is this a bug?
deanpribetic
 
Posts: 3
Joined: Wed Jul 06, 2016 10:12 pm

Re: Date matching bug Mon Sep 26, 2016 11:46 pm • by umfster
Hi
I have the same problem.

Upgraded to macOS Sierra.

Date format is DD-MMM-YYYY. If I change MMM to 'anything' it will match.

Checked last months document which matched previously and now doesn't match.

I am wondering if the selection 'Dec.' with the full stop is different to previous where it may have been 'Dec' without the full stop?
umfster
 
Posts: 2
Joined: Mon Sep 26, 2016 11:38 pm

Re: Date matching bug Tue Sep 27, 2016 11:57 am • by Mr_Noodle
For certain languages, Sierra requires a . at the end of the shortened month name. If you are using a non-US dialect of English, you can try adding US english to your list of system languages. Hazel will use all the languages in that list and as long as US english is not the primary language, it shouldn't affect anything else on your system.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Date matching bug Tue Sep 27, 2016 6:20 pm • by umfster
Hi

Success! I have English (Australia) as primary Language. Added English (US) but selected to continue using Australia as Primary. Restarted computer and using Preview found the Date rule was matched. It looks like you don't need to restart as I found removing English (US) and adding again, the preview showed the date match failed and passed in line with removing and adding the English (US).

Thanks Mr Noodle
umfster
 
Posts: 2
Joined: Mon Sep 26, 2016 11:38 pm


Return to Support