-
Notifications
You must be signed in to change notification settings - Fork 92
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
chore: Change default datetime format #373
chore: Change default datetime format #373
Conversation
8975cd4
to
2d358b3
Compare
both of your example date formats are non-trivially incorrect.
it should surely be |
this also does not seem to match pact-foundation/docs.pact.io#88 (comment) |
About the format problem in those v3 matchers:
They produce weird value. They are inconsistent. I think some of them are even invalid? I think they are just example values. But I was stupid. I didn't pay attention. I just blindly copied from the So I am suggesting to change the default formats to:
|
Given the information in the above comment
If you manually set the system's date to
I know it's Rust code, but I don't know exactly where it is in the pact-reference code base. I will update when I found it.
Yes, it's Java date format, not PHP date format
Yes, those are regex-based matchers (specification v2), and I didn't touch them |
Thanks, I really appreciate the consistent efforts you are making; I'm going to recuse myself rather than be unhelpful. |
2023-11-30
, the value become"2023-12-334T17:15:07"
, not"2023-11-334T17:15:07"
as expected. I'm not sure what is the problem here.