date syntax dm:YYMMDD

Discussion related to "Everything" 1.5 Alpha.
Post Reply
nod5
Posts: 34
Joined: Fri Aug 19, 2016 9:12 pm

date syntax dm:YYMMDD

Post by nod5 » Wed Nov 23, 2022 12:46 pm

Add support for date syntax dm:YYMMDD , that is year-month-day with two digits for each segment.
For example the date 2022-11-23 is 221123 in the YYMMDD format.
Existing 1.5 date syntax supports
YYYYMM[DD[Thh[mm[ss[.sss]]]]]
and I don't suggest removing that. Instead add a setting that toggles interpreting dm:<6 digits> as dm:YYMMDD or dm:YYYYMM.

YYMMDD is shorter to type, takes less screen space and for many situations there is no practical need for the extra two digits in YYYY.

void
Developer
Posts: 11017
Joined: Fri Oct 16, 2009 11:31 pm

Re: date syntax dm:YYMMDD

Post by void » Wed Nov 23, 2022 11:36 pm

Since YYYYMM is not valid ISO 8601, I will look into supporting the still often used YYMMDD input format.

Thank you for the suggestion.

void
Developer
Posts: 11017
Joined: Fri Oct 16, 2009 11:31 pm

Re: date syntax dm:YYMMDD

Post by void » Thu Nov 24, 2022 5:08 am

Everything 1.5.0.1330a adds support for YYMMDD date input format.

nod5
Posts: 34
Joined: Fri Aug 19, 2016 9:12 pm

Re: date syntax dm:YYMMDD

Post by nod5 » Thu Nov 24, 2022 7:05 pm

Thank you for making Everything awesome! :)

asamirid
Posts: 34
Joined: Sat Oct 13, 2018 12:28 pm

Re: date syntax dm:YYMMDD

Post by asamirid » Fri Nov 25, 2022 6:03 am

does this new "YYMMDD" is a supported input format for the "set file time" dialog window in the pic below ??


Image


can i just enter the "YYMMDD" date value, so everything just write the new date value but keep the existing time value preserved in the file ??

void
Developer
Posts: 11017
Joined: Fri Oct 16, 2009 11:31 pm

Re: date syntax dm:YYMMDD

Post by void » Fri Nov 25, 2022 9:44 am

The next alpha update will support YYMMDD for custom date/times when setting the file time.


For now, please use ISO 8601.

For example:

2022-11-25



I will consider an option to preserve the current time.

Thank you for the suggestions.

void
Developer
Posts: 11017
Joined: Fri Oct 16, 2009 11:31 pm

Re: date syntax dm:YYMMDD

Post by void » Fri Dec 09, 2022 8:08 am

Everything 1.5.0.1331a adds support for YYMMDD to the Set File Time dialog.

Post Reply