openscopeproject / TrguiNG

Remote GUI for Transmission torrent daemon
GNU Affero General Public License v3.0
334 stars 39 forks source link

Allow setting time/date locale #19

Open Steve-Brule opened 1 year ago

Steve-Brule commented 1 year ago

Would be great if it was possible to select between 12/24H time and dd/mm/yyyy or mm/dd/yyyy

Other than that, absolutely spectacular project. This can finally replace transgui for me. Thank you!

qu1ck commented 1 year ago

TrguiNG uses system regional settings for formatting dates and time.

Application specific settings are possible but I would consider low priority.

Steve-Brule commented 1 year ago

I think the way jesec/flood handles this is a better way, if implementing application settings is cumbersome: https://github.com/jesec/flood/issues/123

It uses browser locale, which in my case the first requested language is en-gb, so flood formats dates as dd/mm/yyyy. This is also a lot quicker to change than system regional settings.

qu1ck commented 1 year ago

The app version of TrguiNG has no browser so no browser language settings to use. Adding this specifically for web version is also non trivial work for not a lot of gain so will be low priority.