Currently we are using the latest version of AspnetZero Angular version.
I enable time zones functionality in my application by adding following line of code to ONEWebCoreModule.cs
Clock.Provider = ClockProviders.Utc;
After adding the above line of code when I select any date in a calendar control inside my application, it picks the previous day's date. For example if I select 11/20/2023 on calendar it will show 11/19/2023.
Do we know whats going on here ?
5 Answer(s)
-
0
Hi @maharatha
Could you also share your app type (Angular or MVC) and its version ? By the way, is it saved to DB as previous day or is it shown on the UI ?
-
0
Sorry its Angular and NET 7.0 v12.2.0.
Its getting displayed in the UI
-
0
Hi @maharatha
Is it possible to share your project via email with [email protected] ? It will be faster to detect the problem that way.
Thanks,
-
0
I am working on it
-
0
Thanks, waiting for your email.