varun-raj / immich-power-tools

Power tools for organizing your immich library
https://immich-power-tools.featureos.app/
450 stars 10 forks source link

[Feature Request]: Use natual language input for Date fields - DOB #53

Open radh21301 opened 2 months ago

radh21301 commented 2 months ago

I made this suggestion on discord. Moving the conversation here to keep things streamlined.

I have a suggestion. While entering the DOB for a person, it opens up a calendar picker...What if it can also accept a textual input - Like Jan 12 2004, January 15 1994, 15 Feb 2019, 1960 Aug 11 etc..

I have seen reminder apps like ticktick, todoist have this while setting reminders, and it is super easy to use - compared to clicking multiple times through that picker,

I don't know coding so I asked chatGPT - looks like there are python libraries like 'dateutil' that can do this.

radh21301 commented 2 months ago

response from Varun: Hey. we could just have a input that accepts MM-DD-YYYY?

radh21301 commented 2 months ago

That would be great as well.

The way I suggested might just be an icing on the cake kind of feature. Not entirely necessary, but once people get used to it - there is no going back. If you get used to typing 20 Jan 2011 etc without worrying about syntax - this is a huge issue for people from different parts of the world. India used dd-mm-yyyy.. and US uses mm-dd-yyyy… And not needing to stick to a syntax is awesome

radh21301 commented 2 months ago

response from 'leaksrepaired'

The main immich webapp already has the locale feature for how to represent the dates, and an open issue for it's date picker. I wonder if that's exposed over the API?

radh21301 commented 2 months ago

Something to note. Locale does not necessarily mean the individual is from/born in that area. I mean, I am an expat in the US, and I certainly am not used to mm-dd-yyyy format. 🙂

I think the request goes slightly beyond the locality concern. I usually remember someone’s birthday as 18th August 1994 and not as 1994-08-18. If I need it in yyyy-mm-dd format, this is the process in my mind:

Figure out which month august is = 08. Trust me, this is a problem I face!
then put everything in the required format…

Definitely a lot more steps in my opinion. 😅 —— I am also thinking more from the perspective of someone less tech savvy.. like my parents. It would certainly be a bit easier if they can just type things out without even a slight thought given to the syntax.

radh21301 commented 2 months ago

response from 'cornecherryendgame' you're asking for natural language input. Create a FR on github.

radh21301 commented 2 months ago

Varun: https://github.com/wanasit/chrono We can use this Should be simple I think