date syntax dm:YYMMDD

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

date syntax dm:YYMMDD

Post by nod5 »

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: 15286
Joined: Fri Oct 16, 2009 11:31 pm

Re: date syntax dm:YYMMDD

Post by void »

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: 15286
Joined: Fri Oct 16, 2009 11:31 pm

Re: date syntax dm:YYMMDD

Post by void »

Everything 1.5.0.1330a adds support for YYMMDD date input format.
nod5
Posts: 38
Joined: Fri Aug 19, 2016 9:12 pm

Re: date syntax dm:YYMMDD

Post by nod5 »

Thank you for making Everything awesome! :)
asamirid
Posts: 123
Joined: Sat Oct 13, 2018 12:28 pm

Re: date syntax dm:YYMMDD

Post by asamirid »

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: 15286
Joined: Fri Oct 16, 2009 11:31 pm

Re: date syntax dm:YYMMDD

Post by void »

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: 15286
Joined: Fri Oct 16, 2009 11:31 pm

Re: date syntax dm:YYMMDD

Post by void »

Everything 1.5.0.1331a adds support for YYMMDD to the Set File Time dialog.
asamirid
Posts: 123
Joined: Sat Oct 13, 2018 12:28 pm

Re: date syntax dm:YYMMDD

Post by asamirid »

void wrote: Fri Dec 09, 2022 8:08 am Everything 1.5.0.1331a adds support for YYMMDD to the Set File Time dialog.
thanx void, i will try it today :D :D
Post Reply