You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
parent
e9207cf623
commit
ef583813eb
@@ -338,8 +338,17 @@ namespace System
|
||||
// EnumDynamicTimeZoneInformation() might not be available.
|
||||
}
|
||||
|
||||
if (result.Count == 0)
|
||||
if (result.Count == 0) {
|
||||
result.Add (Local);
|
||||
result.Add (Utc);
|
||||
}
|
||||
|
||||
result.Sort ((x, y) =>
|
||||
{
|
||||
int comparison = x.BaseUtcOffset.CompareTo(y.BaseUtcOffset);
|
||||
return comparison == 0 ? string.CompareOrdinal(x.DisplayName, y.DisplayName) : comparison;
|
||||
});
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user