Page 1 of 1

Color Code by dateC(M)

Posted: 22 May 2011 04:52
by jsc572
Been trying out the color code feature recently, awesome on most counts but here's a bug I'm experiencing on all versions I've tried so far.

dateC: 05/01/2011 - 05/02/2011 only color codes files created on 5/1/2011, I thought based on the PDF help file I read, it should color code files created on 5/1 AND 5/2. Same goes for dateM.

Also, dateC: 05/20/2011 will only color code if h:m:s is specified, otherwise nothing gets coded at all, that doesn't make much sense, who's going to look for the exact second when the file's created anyway?

Re: Color Code by dateC(M)

Posted: 22 May 2011 11:12
by ogroeger
The help file is ambiguous in this. In the syntax section it says the second date would be inclusive, while in the example section is says it would be exclusive. Exclusive makes not much sense to me, because with the "-<" operator it is possible to make the second date exclusive, but it doesn't exist an operator to make the second date inclusive.

Re: Color Code by dateC(M)

Posted: 22 May 2011 21:20
by admin
I agree. See next version...

Note that the "-" time range is treated inclusive, but the omitted time part has been internally set to 00:00:00, so only the first second of that day is included. In the next version the whole day is covered when the time part is omitted.

Re: Color Code by dateC(M)

Posted: 22 May 2011 21:55
by ogroeger
Confirmed that the second date is now inclusive. But the exclusion operator has no effect on the second date, e.g. "dateM:20.05.2011-<21.05.2011" colors files from 22.05.2011, too.
Exclusion on the first date works, though.

Re: Color Code by dateC(M)

Posted: 22 May 2011 22:16
by jsc572
Yup, exclusion operators no longer work, -<,>-, ><, none are excluding any dates specified.
ogroeger wrote:Confirmed that the second date is now inclusive. But the exclusion operator has no effect on the second date, e.g. "dateM:20.05.2011-<21.05.2011" colors files from 22.05.2011, too.
Exclusion on the first date works, though.

Re: Color Code by dateC(M)

Posted: 23 May 2011 07:31
by admin
Yes, I noted this a second after uploading. Fix comes.

Re: Color Code by dateC(M)

Posted: 23 May 2011 21:02
by jsc572
great, works fine now. thanks!
admin wrote:Yes, I noted this a second after uploading. Fix comes.

Re: Color Code by dateC(M)

Posted: 24 May 2011 07:07
by ogroeger
Confirmed from my side, too. Thank you very much.