Black Friday Sale!
Save up to 50% off any plans! Valid from 23 Nov to 30 Nov - Also valid for the existing customers
Open Closed

Change timezone descriptions #8997


0
eric_pulaski created

I want to change the timezone descriptions (that my users choose) from the current Microsoft Time Zone "Name of Time Zone" to the "Time" as shown in https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values. For example change from "Central Standard Time" to "(GMT -06:00) Central Time (US and Canada)".

Is that possible with ASP.NET Zero (without major surgery to the code), or might there be unintended consequences?

Thanks in advance for your help.

-Eric


2 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi,

    You can change Name value here according to your needs. We are using https://github.com/mj1856/TimeZoneConverter to retrieve the list. I didn't check but probaly you can get name of timezone using TimeZoneInfo class.

  • 0
    ismcagdas created
    Support Team

    Just another note, TimeZoneInfo acts differently for different operating systems. So, maybe keeping a list in your app and showing it in this combobox might be a better choice for you.