Color Code by dateC(M)

Things you’d like to miss in the future...
Post Reply
jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Color Code by dateC(M)

Post 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?

ogroeger
Posts: 92
Joined: 03 Jul 2007 07:39

Re: Color Code by dateC(M)

Post 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.

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Color Code by dateC(M)

Post 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.

ogroeger
Posts: 92
Joined: 03 Jul 2007 07:39

Re: Color Code by dateC(M)

Post 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.

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: Color Code by dateC(M)

Post 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.

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Color Code by dateC(M)

Post by admin »

Yes, I noted this a second after uploading. Fix comes.

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: Color Code by dateC(M)

Post by jsc572 »

great, works fine now. thanks!
admin wrote:Yes, I noted this a second after uploading. Fix comes.

ogroeger
Posts: 92
Joined: 03 Jul 2007 07:39

Re: Color Code by dateC(M)

Post by ogroeger »

Confirmed from my side, too. Thank you very much.

Post Reply