Base solution for your next web application
Open Closed

Disable DateTime Normalization: Issue #8313


User avatar
0
demo.solaru created

Hello,

Using DisableDateTimeNormalization tag .net core means API side is not doing any conversion for those para. but on Angular side it is somehow converting that date time parameter into locally choosen time.

i.e. Clock is set to UTC, In Database saved as: 01/01/2019:000... My tenant account is using EST as a time provider, so when this date is returned from swagger it is same as how it in database but on Angular side system is converting that date to EST.

So how should we stop that conversion ??


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

    Hi @demo.solaru

    You are right. There is no equivalent of DisableDateTimeNormalization on the Angular side. So, date returns as is to the Angular client from server but you have to handle the conversion on Angular side yourself.

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because of no recent activity. Please create a new issue if you are still having this problem.