Incomplete dates #6071
Replies: 3 comments 9 replies
-
I don't get the whole idea.
|
Beta Was this translation helpful? Give feedback.
-
I would also like to see this feature, as I use Immich to store digitized scans of old photos. For most of these photos, the exact date is unknown, and can only be inferred from context or maybe from a caption, but these captions often say things like:
I want to capture these dates in Immich, so that I can sort and search for them by date, but I don't want to arbitrarily make-up fake values for timestamp components that I don't actually know, simply because Immich requires that a complete YYYY-MM-DD HH:MM:SS be provided. The best way I can think to support this is to allow for an upper and lower bound of each photo timestamp, to define a possible range of dates. In terms of how searching and sorting would function with this feature, it seems to me that searching would be pretty straightforward -- you can still search for a date and if that date appears somewhere within the min - max range of a given photo then it matches the search. |
Beta Was this translation helpful? Give feedback.
-
I find this feature request very confusing. And in my opinion, it's not something that an app like Immich is supposed to solve. Firstly, Immich is not really enforcing the YYYY-MM-DD -HH-mm-ss rule, is it? The EXIF field requires that structure (you could force the field to take partial dates, but many programs don't accept partial dates), and immich has to respect that. Say Immich goes ahead and implements what you ask (Summer of 1965 or something), then it cannot be stored in either the asset's EXIF field or the accompanying XMP sidecar file. What this would mean is that -> whatever edits you make with Immich has to be stored in the Immich database, and cannot be used with other tools if you decide to migrate. That is not a good design. To me, the best solution looks like setting the date like you suggested -> The best guess you can make. If you have no estimate, then January 01, YEAR, midnight (00:00:00). If you have a series of photos you digiitzed, and want to keep them in the correct order-> add a second to each photo (you can ask exiftool to sort by filename and add one second to each image). This would keep all your images in the correct order when you view them on the Immich timeline. And if you want to say that it was Spring of 1995 or something, just add it to the description. OR add a tag that says 'date is tentative' or something. Description and Tags can be stored in the asset's metadata, so it will be available when you migrate. References: |
Beta Was this translation helpful? Give feedback.
-
For some photos, pre-digital or digital where original metadata has been lost, I may not have the precise date/time it was taken. I'd still like these to have some level of date information though. ISO 8601 supports various level of partial dates (YYYY or YYYY-MM), but it'd also be nice to say "it was in the YYX0 decade" or even "it was in the YY00 century", so associating some level of precision to the fuzzy date would be good. One step further though I could also see benefit in providing a "fuzzy" range, for example you know they lived in this house from YYYY-ZZZZ but not much more beyond that can be determined from the photo.
It would also be beneficial able to sort photos relative to one another when there are incomplete dates. This could either be against other incomplete date photos, or (and this may be aided by range support) against a photo with a complete date.
Beta Was this translation helpful? Give feedback.
All reactions