patzly / grocy-android

ERP beyond your fridge, now on your phone – An awesome companion app for grocy
https://patrickzedler.com/grocy/
GNU General Public License v3.0
829 stars 80 forks source link

[Feature] Specify date format. #824

Open voronind-com opened 5 months ago

voronind-com commented 5 months ago

Minor feature request. Right now I have to use Russian language because English version is forced to MM/DD/YY in things like "Due date", "Purchase date" etc. Would be nice to have the ability to use ISO format like YYYY-MM-DD or reversed DD/MM/YY globally. I know how annoying it is to work with Date/Time, so you can just ignore this request. Thanks!

dominiczedler commented 5 months ago

There is already an option in the behavior section of the app settings. :-)

voronind-com commented 5 months ago

Screenshot_2024-01-13-23-44-31-502_xyz zedler patrick grocy Screenshot_2024-01-13-23-44-44-274_xyz zedler patrick grocy

Yeah, but it only works for "Enter date from keyboard". For Due date etc it keeps wrong format. I guessed it only belongs to "Enter date from keyboard" as it comes next to it.

dominiczedler commented 5 months ago

Ah you mean displaying, I thought about input of dates. Yeah we can add an option for that (but an option for anything leads to non-intuitive behavior that's why it just takes the locale set in the app)... So I don't understand why you need it (you are the first with the wish), but I will let the issue open for me later or for contributors.

Arcturuss commented 5 months ago

So I don't understand why you need it

Because virtually nobody outside of US uses MM/DD/YY format, even in other English-speaking countries.

voronind-com commented 5 months ago

So I don't understand why you need it

Because virtually nobody outside of US uses MM/DD/YY format, even in other English-speaking countries.

At least languages like "English (US)", "English (GB)" etc would be nice. Even better as a separate setting.

Language/Locale separation is not uncommon, I can set them separately in my operating system.

Or just configure date/time format in "Advanced settings".