Open Closed

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


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)
  • 0
    annoure created

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

            Configuration.Auditing.IsEnabledForAnonymousUsers = true;
         <span style="color:#40BF00">   Clock.Provider = ClockProviders.Utc;</span>
    

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

  • 0
    ismcagdas created

    Thanks @annoure :)