-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inconsistent create date time format #13
Comments
@8ctopus - Acknowledge the issue, working to get the right team engaged. |
@cnallam Maybe there is a reason that |
@8ctopus Yes I agree, this is a breaking change. Changing the format at either level will create a breaking change. |
No, it's not an issue per se, but it creates inconsistencies along the code base. |
Yeah it might create some inconsistencies. But can you parse the date "yyyy-MM-dd'T'HH:mm:ss" ignoring milliseconds, in that way you can avoid inconsistencies in code. |
Here's another inconsistency: I simulate a Is it a bug of the simulation event, or does a real {
"id": "WH-3EC545679X386831C-3D038940937933201",
"event_version": "1.0",
"create_time": "2014-10-23T00:19:27Z",
"resource_type": "sale",
"event_type": "PAYMENT.SALE.REVERSED",
"summary": "A $ 0.49 USD sale payment was reversed",
"resource": {
"id": "77689802DL785834G",
"create_time": "2014-10-23T00:19:12Z",
"state": "completed",
"amount": {
"total": "-0.49",
"currency": "USD",
"details": {
"subtotal": "-0.64",
"tax": "0.08",
"shipping": "0.07"
}
},
"links": [
{
"href": "https:\/\/api.sandbox.paypal.com\/v1\/payments\/refund\/77689802DL785834G",
"rel": "self",
"method": "GET"
}
]
},
"links": [
{
"href": "https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-3EC545679X386831C-3D038940937933201",
"rel": "self",
"method": "GET"
},
{
"href": "https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-3EC545679X386831C-3D038940937933201\/resend",
"rel": "resend",
"method": "POST"
}
]
} |
Contact Details
[email protected]
Describe the Issue
All webhook events have inconsistent create date time format as shown in the example below.
create_time
is2023-09-29T05:31:20.578Z
which corresponds toRFC3339_EXTENDED
.resource.create_time
is2023-09-29T05:31:20Z
which corresponds toRFC3339
.Steps To Reproduce
N/A
What type of Operating System are you seeing the problem on?
N/A
What type of browser are you seeing the problem on?
N/A
Screenshots or Videos
No response
Code to produce this issue.
No response
The text was updated successfully, but these errors were encountered: