Solved TD-23489: SalJSONDeserialize doesn't convert UTC date

Report bugs and possible workarounds.
Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 771
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

TD-23489: SalJSONDeserialize doesn't convert UTC date

Post by Igor Ivanovic » 12 Apr 2017, 08:01

When using SalJSONDeserialize on a JSON that has UTC dates in it, the dates aren't converted to local time at all - they are null instead.
Opened a ticket on OpenText, no TD bug number yet.
Igor Ivanovic
Image

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 771
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

SalJSONDeserialize doesn't convert UTC date

Post by Igor Ivanovic » 13 Apr 2017, 06:53

I've attached a repro.
You do not have the required permissions to view the files attached to this post.
Igor Ivanovic
Image

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1121
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

TD-23489: SalJSONDeserialize doesn't convert UTC date

Post by Dave Rabelink » 12 Jun 2017, 07:45

This defect has been fixed in TD 7.0.2.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 0 guests