[corlib] Default Egypt calendar is gregorian. Fixes #27725
[mono.git] / tools / locale-builder / Driver.cs
index f42f5cf90b4c0911d70d6ddf9f137fecd7e93592..1d709afa1d9fb382b89f725bfe22fb69d9d17f67 100644 (file)
@@ -973,7 +973,7 @@ namespace Mono.Tools.LocaleBuilder
 
                        string calendar;
                        // Default calendar is for now always "gregorian"
-                       switch (ci.Name) {
+                       switch (ci.OriginalName) {
                        case "th": case "th-TH":
                                calendar = "buddhist";
                                ci.CalendarType = CalendarType.ThaiBuddhist; // typeof (ThaiBuddhistCalendar);