[arin-tech-discuss] Returned registrationDate format in payloads returned by GET vs. POST (Create Recipient Customer)
Andy Newton
andy at arin.net
Wed Dec 26 08:17:24 EST 2012
From: Jarl Stefansson <jarl.stefansson at gmail.com<mailto:jarl.stefansson at gmail.com>>
Date: Sunday, December 23, 2012 11:38 PM
To: "arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>" <arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>>
Subject: [arin-tech-discuss] Returned registrationDate format in payloads returned by GET vs. POST (Create Recipient Customer)
I just wanted to ask if this was normal behaviour or possibly a bug.
When using GET to retrieve Customer information the registrationDate is in the format 2012-10-31T12:29:32-04:00
When creating a new Customer the returned payload has the registrationDate in the format 2012-12-23T23:23:55.400-05:00
It's easy enough to parse both formats but I just wanted to check if this might be a bug?
--
Regards,
Jarl Stefansson
jarl.stefansson at gmail.com<mailto:jarl.stefansson at gmail.com>
Jarl,
Thanks for the question.
Both dates are in ISO8601 format, but each has a different timezone offset.
I've attempted to reproduce this with no success. Are you using GET on the same customer after creating it? I ask because the registration dates in your example do not appear to be the same. Regardless, I would expect the GET to return an EST timezone value so this might be a bug on our end.
Regards,
Andy Newton
Chief Engineer, ARIN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20121226/c5fe672b/attachment.html>
More information about the arin-tech-discuss
mailing list