siacentral / host-manager

User-friendly desktop app for Sia hosts. Provides easy configuration, better financials, and smart alerts to make hosting simpler.
https://siacentral.com/host-manager
GNU Affero General Public License v3.0
69 stars 14 forks source link

Add date format configuration option, or respect system setting #40

Open DeflateAwning opened 3 years ago

DeflateAwning commented 3 years ago

Please add a configuration option to use a different date format within the Setting dialog (alongside the Currency selector). Alternatively, make the date format use whatever is selected system-wide in the system's computer's locale settings.

In Canada, the dd/mm/yyyy is never used, and is very tough for me to wrap my head around. I would prefer yyyy-mm-dd, as that is the standard for computing systems, but mm/dd/yyyy is very common in the US, so that should be added/respected as well.

Thanks!

n8maninger commented 3 years ago

Everywhere I could find is already using toLocaleString(), theoretically that should mean it respects the system locale settings.. I think the best way forward would be to add a new config option to explicitly set locale.

DeflateAwning commented 3 years ago

I'm running it on Ubuntu 20.04.1 LTS, still with host-manager v1.0.23, for reference. I know electron has some issues, so maybe this is yet another place it lacks support. Or maybe I've done something wrong. I'm not certain

n8maninger commented 3 years ago

@ThePiGuy off topic, but did you get your host updated for the hardfork? Host Manager v1.0.30 is the only version with Sia v1.5.4.

DeflateAwning commented 3 years ago

I'm actually running the siad daemon separately, and am just using host manager for settings updates mostly

n8maninger commented 3 years ago

It looks like this is yet another Electron issue, I'll have to add an explicit override 🤦🏻

https://github.com/electron/electron/issues/13023