Skip to content

Commit

Permalink
illumos: set default timezone info path (#104533)
Browse files Browse the repository at this point in the history
This is where these files live on OpenIndiana and SmartOS.

Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
  • Loading branch information
AustinWise and tarekgh authored Jul 15, 2024
1 parent e0bb714 commit dcfd52b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ namespace System
{
public sealed partial class TimeZoneInfo
{
#if TARGET_ILLUMOS || TARGET_SOLARIS
private const string DefaultTimeZoneDirectory = "/usr/share/lib/zoneinfo/";
#else
private const string DefaultTimeZoneDirectory = "/usr/share/zoneinfo/";
#endif

// Set fallback values using abbreviations, base offset, and id
// These are expected in environments without time zone globalization data
Expand Down

0 comments on commit dcfd52b

Please sign in to comment.