Base solution for your next web application
Open Closed

Timezone doküman ile farklı #8929


User avatar
0
talentra created

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

Dokuman :

Uygulama :

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    talentra created

    teşekkürler

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)