Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

JSON.stringify truncated Moment Object #7884


User avatar
0
zdeen created

Could you please share the guidance of using JSON.stringify with Moment as Date object. When I try to do that the time string gets truncated as follows,

  • As you can see in the screenshot I have both fromDate and toDate passed as a parameter
  • But as soon as it's passed through JSON.stringify it gets truncated. Please refer to the content_ constant in the screenshot below
  • Class and interface details
  • We are using Angular Version 8.3.5 with ASP.NET core.

Thanks


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

    You can try to regenerate the service-proxies.ts file first.

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.