Open Closed

TimeZoneHelper.GetTimezones throws TimeZoneNotFoundException on Linux #10295


User avatar
0
daniellpollock@gmail.com created

ABP Framework version: 10.0.1

Description: When running a Blazor Server App on Linux (Azure App Service), calling ProfileAppService.GetTimezonesAsync() throws a TimeZoneNotFoundException for the timezone ID Africa/Asmera. This prevents the timezone dropdown from loading in the Account Profile and Admin Settings pages.

The same functionality works correctly in ABP 9.2.3 on the identical Linux environment.

Steps to reproduce:

  1. Deploy an ABP 10.0.1 application to a Linux environment (e.g., Azure App Service on Linux)
  2. Navigate to My Account > Personal Info
  3. Click on the Time zone dropdown

Stack trace: System.TimeZoneNotFoundException: "Africa/Asmera" was not found. at TimeZoneConverter.TZConvert.GetTimeZoneInfo(String windowsOrIanaTimeZoneId) at Volo.Abp.Timing.TimeZoneHelper.<>c.<GetTimezones>b__0_1(NameValue x) at System.Linq.Enumerable.IteratorSelectIterator2.ToList() at Volo.Abp.Timing.TimeZoneHelper.GetTimezones(List1 timezones) at Volo.Abp.Account.ProfileAppService.GetTimezonesAsync()


1 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent

    The GetContextManyAsync second result shows an error "fetch failed", but we still got some context chunks; nothing about Africa/Asmera. Need to search code repo for TimeZoneHelper and version 10 changes, and maybe TimeZoneConverter usage. Next: use list_repos result to know repo id for abpframework, then search_code for TimeZoneHelper and Africa/Asmera. Repo listing failed (auth). But I must still call search_code per instructions; without repoId it'll search all.


    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 09, 2026, 07:22
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.