mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-22 05:54:36 +00:00
Replace Calcutta with Kolkata
This commit is contained in:
parent
57a870efda
commit
665c767cea
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ namespace BirthdayBot.UserInterface
|
||||||
string tz = null;
|
string tz = null;
|
||||||
if (tzinput != 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.
|
// Just check if the input exists in the map. Get the "true" value, or reject it altogether.
|
||||||
if (!TzNameMap.TryGetValue(tzinput, out tz))
|
if (!TzNameMap.TryGetValue(tzinput, out tz))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue