Base solution for your next web application
Open Closed

Combobox of time zone is not found in the adm page !! #5144


User avatar
0
annoure created

I encountered a problem when saving the date in the database, I have to save members' payments a month: the display of the UI page is right, but the backup in the database is not fair yet it is the same variable. (UI: 01-01 / 2018 and in database: 31-12-2017) !!!! date on GUI: [http://prntscr.com/jjx8y2]) Date on debug: [http://prntscr.com/jjx8an])

Despite that I used: DateTime now = Clock.Now; I have the same problem

Thank you


2 Answer(s)
  • User Avatar
    0
    annoure created

    public override void PreInitialize() { //workaround for issue: <a class="postlink" href="https://github.com/aspnet/EntityFrameworkCore/issues/9825">https://github.com/aspnet/EntityFramewo ... ssues/9825</a> //related github issue: <a class="postlink" href="https://github.com/aspnet/EntityFrameworkCore/issues/10407">https://github.com/aspnet/EntityFramewo ... sues/10407</a> AppContext.SetSwitch("Microsoft.EntityFrameworkCore.Issue9825", true);

            Configuration.Auditing.IsEnabledForAnonymousUsers = true;
         &lt;span style=&quot;color:#40BF00&quot;&gt;   Clock.Provider = ClockProviders.Utc;&lt;/span&gt;
    

    This modification must be applied on DigiappsCoreModule in core project Resolve my Pb

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @annoure :)