Hi
I updated our project with Angular + Core 5.5 template and now timezone selection is not as good as it used to be. There are fewer options and user can't see the hour offset. For example if you want to select Helsinki timezone, you would have to select "Egypt".
I tried to change TimeZoneService to get KnownIanaTimeZoneNames but, when I select Europe/Helsinki, I get exception: System.Exception: Unable to map Europe/Helsinki to iana timezone. at Abp.Timing.Timezone.TimezoneHelper.WindowsToIana(String windowsTimezoneId) in D:\Github\aspnetboilerplate\src\Abp\Timing\Timezone\TimezoneHelper.cs:line 45
So can you provide any workaround for this issue?
3 Answer(s)
-
0
Specified timezone might not exist in your server. See <a class="postlink" href="https://github.com/mj1856/TimeZoneConverter/issues/4">https://github.com/mj1856/TimeZoneConverter/issues/4</a>. I don't your AspNet Zero version but ensure this issue is fixed in your solution <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1177">https://github.com/aspnetzero/aspnet-ze ... ssues/1177</a>.
Lastly, see the same issues that have been already fixed
-
0
I think we have latest codes. It is just that now finnish users need to select FLE Standard Time. I didn't know that without googling, so I doubt that normal user is not able to figure it out either. I think that there was better options before updating.. We propably need to put a link to [https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones]) so users can check it out if they are unsure as I was.
-
0
@MikaTmlVertti you are right about new names of timezones but we had to do this for cross platform support. We don't want to maintain timeone names. You can create an issue on <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues">https://github.com/aspnetzero/aspnet-zero-core/issues</a> and we can try to find a way to overcome this problem.