[Feature] Natural language input for Date fields - Date of Birth, Editing the date of images etc. #12690
radh21301
started this conversation in
Feature Request
Replies: 1 comment 2 replies
|
I'm a little cautious about this. I think time-related issues are the opposite of fun and an open-ended feature like this will inevitably invite more of them. The library also doesn't support a lot of the languages we do. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have searched the existing feature requests to make sure this is not a duplicate request.
The feature
This is the same feature request I made to immich-power-tools, and it has been implement in v0.6.0. It would be awesome if Immich can implement it natively as well!
So, right now we've got that calendar picker for DOB, which is fine. But what if we could also just type in dates however we want? Like "Jan 12 2004" or "15 Feb 2019" - you know, the way we actually say dates.
I was thinking it'd be super handy, especially for people who aren't used to specific date formats. Like, I always get mixed up with mm/dd/yyyy vs dd/mm/yyyy. This way, you could just type it how you remember it.
From my basic search with ChatGPT, looks like there are python libraries like 'dateutil' that can do this? The dev mentioned using a library called chrono for power tools. Sounds like it wouldn't be too tricky to set up?
It's not a must-have, but it'd be a nice little extra that could make things smoother for everyone, especially folks who aren't super techy. What do you think?
Additional info:
The video that Varun, the dev of immich power tools shared. Note, as seen in the end of the video, there is an edge case where he types 1995 4th July, but after hitting enter it becomes July 4th, 2024. But it work really well for most use cases! pretty cool! :) The request is not necessarily to use the same library, but include something that can achieve this functionality.
Screen_Recording_2024-09-09_at_8.05.51_PM.mp4
Platform
All reactions