Base solution for your next web application
Open Closed

Timezone doküman ile farklı #8929


User avatar
0
serdar created

Merhaba, dokumandaki host ayarlarında timezone görünmüyor ?

Dokuman :

Uygulama :


2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Read the paragraph that is right below that image.

    ... Timezone setting is available only if you are using UTC clock provider. See documentation to switch to UTC. By default ASP .NET Zero uses UnspecifiedClockProvider ...

    You can change the used clock provider in the PreInitialize method of your Core module.

    Clock.Provider = ClockProviders.Utc;
    

    Reference: https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Features-Mvc-Core-Host-Settings

  • User Avatar
    0
    serdar created

    teşekkürler