Page 1 of 1

Optional date padding?

PostPosted: Mon Jul 15, 2013 5:00 am
by GeekNeck
Hi all,

I'm trying to have Hazel recognize my bank statement. The text I am expecting find is this:
Code: Select all
for June 1, 2013 to June 30, 2013

My rule, which had 2 padded day-of-month, was not working. I switched the first date to use a non-padded day-of-month and Hazel found the file. I understand why that is, but is the rule going to fail to find a statement where the start date is a 2-digit day? For example, will
Code: Select all
for June 30, 2013 to July 30, 2013

not be found? Any thoughts would be greatly appreciated!

Paul

Re: Optional date padding?

PostPosted: Mon Jul 15, 2013 12:16 pm
by Mr_Noodle
In the case of one-digit, that only specifies the minimum number of digits. So it will recognize 1 as well as 10.

Re: Optional date padding?

PostPosted: Mon Jul 15, 2013 12:30 pm
by GeekNeck
OK, so I use the single digit unless I know for a fact that the number will be zero-padded. Thanks!

BTW, I love the new date matching!!!!