Replace Calcutta with Kolkata

This commit is contained in:
Noi 2021-10-13 19:28:35 -07:00
parent 57a870efda
commit 665c767cea

View file

@ -64,6 +64,8 @@ namespace BirthdayBot.UserInterface
string tz = null;
if (tzinput != null)
{
if (tzinput.Equals("Asia/Calcutta", StringComparison.OrdinalIgnoreCase)) tzinput = "Asia/Kolkata";
// Just check if the input exists in the map. Get the "true" value, or reject it altogether.
if (!TzNameMap.TryGetValue(tzinput, out tz))
{