1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

New: Option to specify timezone for formatting times in the UI

This commit is contained in:
Audionut
2025-10-22 14:07:34 +10:00
committed by GitHub
parent 37dfad11f2
commit 550cf8d399
16 changed files with 321 additions and 35 deletions
+13
View File
@@ -21,6 +21,7 @@ import createLanguagesSelector from 'Store/Selectors/createLanguagesSelector';
import createSettingsSectionSelector from 'Store/Selectors/createSettingsSectionSelector';
import themes from 'Styles/Themes';
import { InputChanged } from 'typings/inputs';
import timeZoneOptions from 'Utilities/Date/timeZoneOptions';
import titleCase from 'Utilities/String/titleCase';
import translate from 'Utilities/String/translate';
@@ -218,6 +219,18 @@ function UISettings() {
/>
</FormGroup>
<FormGroup>
<FormLabel>{translate('TimeZone')}</FormLabel>
<FormInputGroup
type={inputTypes.SELECT}
name="timeZone"
values={timeZoneOptions}
onChange={handleInputChange}
{...settings.timeZone}
/>
</FormGroup>
<FormGroup>
<FormLabel>{translate('ShowRelativeDates')}</FormLabel>
<FormInputGroup