|
@@ -82,7 +82,7 @@ public partial class SettingsWindowViewModel : ObservableObject
|
|
Settings = settings;
|
|
Settings = settings;
|
|
FontFamilies = GetAllSystemFonts().Distinct().OrderBy(f => f).ToList();
|
|
FontFamilies = GetAllSystemFonts().Distinct().OrderBy(f => f).ToList();
|
|
FontStyles = ["Normal", "Italic", "Oblique"];
|
|
FontStyles = ["Normal", "Italic", "Oblique"];
|
|
- TimeZones = TimeZoneInfo.GetSystemTimeZones().Select(tz => tz.Id).ToList();
|
|
|
|
|
|
+ TimeZones = TimeZoneInfo.GetSystemTimeZones();
|
|
}
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
@@ -98,7 +98,7 @@ public partial class SettingsWindowViewModel : ObservableObject
|
|
/// <summary>
|
|
/// <summary>
|
|
/// All available time zones reported by the system.
|
|
/// All available time zones reported by the system.
|
|
/// </summary>
|
|
/// </summary>
|
|
- public IList<string> TimeZones { get; }
|
|
|
|
|
|
+ public IList<TimeZoneInfo> TimeZones { get; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Sets the format string in settings.
|
|
/// Sets the format string in settings.
|