Base solution for your next web application
Open Closed

How to Handle datetime data in ApplicationService and JSON #1003


User avatar
0
feliw created

Hi,

Is there a easy way to handle datetime type in ABP without considering timezone? The problem is when we pass a datetime to AppService from JSON, it will include the timezone, as the result when the datetime received in service the value will be different then the initial value (because the server timezone is different than the client timezone so reduction/addition will occur to the datetime).

Thanks before for the great support!! :) :)


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

    Hi,

    We are actually working on similar issues,

    <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/936">https://github.com/aspnetboilerplate/as ... issues/936</a> <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/170">https://github.com/aspnetzero/aspnet-zero/issues/170</a>.

    It will be in the next release ABP & Zero as well.