Skip to content
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

The regex for checking date time will not work on morning 10 AM #38

Open
chenbojian opened this issue Apr 8, 2024 · 1 comment
Open

Comments

@chenbojian
Copy link

.matchHeader("Authorization", "Bearer (19|20)\\d\\d-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][1-9]|2[0123]):[0-5][0-9]")

This regex will fail at 10 AM, which cause consumer pact tests failure.

@AamnaZahid
Copy link

Hi @chenbojian
Plz share details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants