time_format tt not showing together with milliseconds

Discussion related to "Everything" 1.5 Alpha.
Post Reply
anmac1789
Posts: 670
Joined: Mon Aug 24, 2020 1:16 pm

time_format tt not showing together with milliseconds

Post by anmac1789 »

How do I combine /time_format=h:mm:ss.SSSS tt ? whenever I use tt at the end, it doesn't show up, but if I use h:mm:ss.SSS without tt, then the millisecond shows up perfectly fine. How do I include the tt at the end as well ?
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: time_format tt not showing together with milliseconds

Post by NotNull »

Per documentation:
SSS Milliseconds with leading zeros, must be the last part of the format.
So either put AM/PM at the front:

Code: Select all

/time_format=tt h:mm:ss.SSS
Or remove the millisecoinds:

Code: Select all

/time_format=h:mm:ss tt
(I assume you made a type with 4 S'es instead of 3)
anmac1789
Posts: 670
Joined: Mon Aug 24, 2020 1:16 pm

Re: time_format tt not showing together with milliseconds

Post by anmac1789 »

NotNull wrote: Sat Jul 15, 2023 7:57 pm (I assume you made a type with 4 S'es instead of 3)
yes thats my mistake
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: time_format tt not showing together with milliseconds

Post by NotNull »

Heh, made a typo in "typo" myself :D

Is switching to 24H notation an option? Then you won't need the AM/PM anymore.
void
Developer
Posts: 16775
Joined: Fri Oct 16, 2009 11:31 pm

Re: time_format tt not showing together with milliseconds

Post by void »

Everything uses the system call GetTimeFormat to format your time.

GetTimeFormat doesn't support .SSS

.SSS is an Everything hack and only works when at the end of the format string.

Everything supports up-to 7 S's (.SSSSSSS) to show the full file time resolution.
anmac1789
Posts: 670
Joined: Mon Aug 24, 2020 1:16 pm

Re: time_format tt not showing together with milliseconds

Post by anmac1789 »

void wrote: Sun Jul 16, 2023 1:36 am Everything uses the system call GetTimeFormat to format your time.

GetTimeFormat doesn't support .SSS

.SSS is an Everything hack and only works when at the end of the format string.

Everything supports up-to 7 S's (.SSSSSSS) to show the full file time resolution.
How do add the time when searching for a specific time or a time and date range?

I tried dm:2019-5-12T13:50 Suppose to look for files with date modified May 12, 2019 @ 1:50 PM but it doesn't show these types of files althought I do have an actual picture with this date and time.
void
Developer
Posts: 16775
Joined: Fri Oct 16, 2009 11:31 pm

Re: time_format tt not showing together with milliseconds

Post by void »

Everything supports ISO 8601:

dm:YYYY-MM-DDThh:mm:ss[.mmm]

For example:

dm:2019-5-12T13:50

Use .. to specify a range.



Please check if the following matches your file:
dm:2019-5-12
dm:2019-5-12T13
dm:2019-5-12T13:50
dm:2019-5-12T12..dm:2019-5-12T14
dm:2019-5-12T13:45..dm:2019-5-12T13:55
Post Reply