diff options
author | Philipp Kerling <yol@casix.org> | 2024-03-24 21:35:12 +0100 |
---|---|---|
committer | Philipp Kerling <yol@casix.org> | 2024-03-24 21:35:12 +0100 |
commit | 118876b069cc23ba10cba1f84d83ec6a059dbf1b (patch) | |
tree | 31367c39b0b8523d4d4cc2c99a937fabe9909420 /system | |
parent | 275072f36c53f7509002d2daee38fd75dbcab5d8 (diff) |
Remove timezone setting within Kodi
Kodi should just use whatever timezone is set up in the OS.
There isn't really a convincing use case for changing the
timezone in Kodi to be different from what the OS is set to.
This setting was handled pretty inconsistently anyway (most OSes
hide those settings, others disable it, on others it's just not going
to be available due to g_timezone missing...).
OS-like Kodi redistributions should add a proper OS-wide
timezone setting to their respective settings/patchsets.
This removes our dependency on a timezone database being
available and reduces the code we have to maintain.
Diffstat (limited to 'system')
-rw-r--r-- | system/settings/android.xml | 12 | ||||
-rwxr-xr-x | system/settings/settings.xml | 19 | ||||
-rw-r--r-- | system/settings/windows.xml | 12 |
3 files changed, 0 insertions, 43 deletions
diff --git a/system/settings/android.xml b/system/settings/android.xml index 661a978e32..838990389a 100644 --- a/system/settings/android.xml +++ b/system/settings/android.xml @@ -29,16 +29,4 @@ </group> </category> </section> - <section id="interface"> - <category id="regional"> - <group id="2"> - <setting id="locale.timezonecountry"> - <visible>false</visible> - </setting> - <setting id="locale.timezone"> - <visible>false</visible> - </setting> - </group> - </category> - </section> </settings> diff --git a/system/settings/settings.xml b/system/settings/settings.xml index e48fcf1c08..2317cdf90c 100755 --- a/system/settings/settings.xml +++ b/system/settings/settings.xml @@ -4030,25 +4030,6 @@ </dependencies> <control type="list" format="string" /> </setting> - <setting id="locale.timezonecountry" type="string" label="14079" help="36117"> - <level>1</level> - <default>default</default> <!-- will be properly set on startup --> - <constraints> - <options>timezonecountries</options> - </constraints> - <control type="list" format="string" /> - </setting> - <setting id="locale.timezone" type="string" label="14080" help="36118"> - <level>1</level> - <default>default</default> <!-- will be properly set on startup --> - <constraints> - <options>timezones</options> - </constraints> - <dependencies> - <dependency type="update" setting="locale.timezonecountry" /> - </dependencies> - <control type="list" format="string" /> - </setting> <setting id="locale.shortdateformat" type="string" label="14109" help="36173"> <level>2</level> <default>regional</default> diff --git a/system/settings/windows.xml b/system/settings/windows.xml index 163cb5c2d3..523d0c9cab 100644 --- a/system/settings/windows.xml +++ b/system/settings/windows.xml @@ -58,16 +58,4 @@ </group> </category> </section> - <section id="interface"> - <category id="regional"> - <group id="2"> - <setting id="locale.timezonecountry"> - <visible>false</visible> - </setting> - <setting id="locale.timezone"> - <visible>false</visible> - </setting> - </group> - </category> - </section> </settings> |