Search dates without year

It would be awesome to be able to search by month and day without specifying a year. This would allow you a simple way to see “on this day in history” photos.

If there is already a way to do this, just let me know!

1 Like

I haven’t totally thought this through, but perhaps allowing a ? replacement character would be a good way to do this.

e.g.
date:???-04-26
date:202?-04-26
date:2021-04-2?

This could allow for some interesting possibilities.

edit: seems like there’s something in Discourse that replaces any number of questionmarks greater than 3 with 3. So, imagine that there are 4 question marks in my first example.

1 Like

Uh, so, it certainly would be better to support this properly, but at least in the current alpha, due to the way I index tag paths, you can just search for the month number and it’ll show you all assets taken that month, sorted by captured-at.

Unfortunately, it’ll also include any asset that also includes that number as a “word” in any other tag, including keywords, titles, descriptions, …

A proper solution would be to introduce a specific filter that built a strictly correct query, and then it’d also support specific days, as well.

What would be a good name for this filter?

  • date:????-MM-DD
  • onthisday:MM-DD
  • dayofyear:MM-DD
  • doy:MM-DD
  • your suggestion (click reply)

0 voters

(other related filters that might be interesting could be “hour of day”, or “season”, or “time of day” (night, dawn, day, dusk, … week of year, …)?

1 Like

I would avoid “dayofyear” or even “doy” because that could be confused with the ISO 8601 Ordinal Dates.

I personally think date: is fine… you can differentiate it from a proper date by the presence of a question mark character. It also could then conform to the same formatting rules as dates (YYYY[-MM[-DD]]), so it breeds familiarity to the conventions used by Photostructure.

Also, I totally forgot that this post is out there: Please suggest other search examples - #12 by mrm

I agree some “date:” syntax would be a good choice.

yeah would be great to eg. display all birthdays of a person etc.