EBV with /copy <formatfiletime:$date-modified... does not copy full .0000000

Discussion related to "Everything" 1.5.
Herkules97
Posts: 289
Joined: Tue Oct 08, 2019 6:42 am

EBV with /copy <formatfiletime:$date-modified... does not copy full .0000000

Post by Herkules97 »

Per Google I found this suggestion, which seems to work fine for timestamps that are filled with non-zero stuff.
viewtopic.php?p=64127#p64127

But if something is say .0000000 it instead copies 6, so .000000?

Also shouldn't Copy Property - Date Modified already copy the entire thing? It only goes to seconds :(.
I found out you can't exclude based on the full MSFT? Is that why? Is there a way to at least exclude the full thing?
Turns out when excluding, the last 7 needs to be separated with colon not period. As in ss:SSSSSSS not ss.SSSSSSS

It was done on 1411b but the same bookmark, "/copy dm:<formatfiletime:$date-modified:,"yyyy-MM-dd\THH:mm:ss.SSSSSSS", works the same on 1423b. I also tried with 8x S to see if that did anything but nop still 6 zeroes.
void
Developer
Posts: 20303
Joined: Fri Oct 16, 2009 11:31 pm

Re: EBV with /copy <formatfiletime:$date-modified... does not copy full .0000000

Post by void »

Thank you for the issue report Herkules97,

It's a bug with <FORMATFILETIME:...>
It will be fixed in the next update.
Herkules97
Posts: 289
Joined: Tue Oct 08, 2019 6:42 am

Re: EBV with /copy <formatfiletime:$date-modified... does not copy full .0000000

Post by Herkules97 »

Just adding here as I didn't know before, it's not just 7 zeroed.
.169352
Is how one file was copied, but the full amount is
.0169352.
So it can also take away a zero at the start and within one that isn't all 7 zeroes originally. Thought any that had anything between 1-9 anywhere was safe.
Maybe you'd discover this in the code or already has it patched and it's just waiting release.
void
Developer
Posts: 20303
Joined: Fri Oct 16, 2009 11:31 pm

Re: EBV with /copy <formatfiletime:$date-modified... does not copy full .0000000

Post by void »

I'm aware of the issue.
It will be fixed in the next update.
Thank you for your post.
void
Developer
Posts: 20303
Joined: Fri Oct 16, 2009 11:31 pm

Re: EBV with /copy <formatfiletime:$date-modified... does not copy full .0000000

Post by void »

Everything 1.5.0.1424b fixes an issue with <FORMATFILETIME:...>

FORMATFILETIME: will now render decimal places correctly.