Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting time/date locale #19

Open
Steve-Brule opened this issue Jun 27, 2023 · 5 comments
Open

Allow setting time/date locale #19

Steve-Brule opened this issue Jun 27, 2023 · 5 comments
Labels
wishlist Low priority nice to have features

Comments

@Steve-Brule
Copy link

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
Copy link
Member

qu1ck commented Jun 27, 2023

TrguiNG uses system regional settings for formatting dates and time.

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

@qu1ck qu1ck added the wishlist Low priority nice to have features label Jun 27, 2023
@Steve-Brule
Copy link
Author

I think the way jesec/flood handles this is a better way, if implementing application settings is cumbersome: jesec/flood#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
Copy link
Member

qu1ck commented Jun 27, 2023

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.

@Speederer
Copy link

TrguiNG uses system regional settings for formatting dates and time.

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

It looks like it works differently in my case:
image

@qu1ck
Copy link
Member

qu1ck commented Dec 1, 2024

Yeah, it appears webview2 does not always respect system locale ¯\_(ツ)_/¯
Tauri does not have an API to change it either, I filed a feature request tauri-apps/tauri#11838

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wishlist Low priority nice to have features
Projects
None yet
Development

No branches or pull requests

3 participants