I believe I found a bug. `2025-07-23` is a valid I...
# wiremock-java
m
I believe I found a bug.
2025-07-23
is a valid ISO 8601 date. https://en.wikipedia.org/wiki/ISO_8601#Dates
Copy code
GET /__admin/requests?since=2025-07-23

Response body:
{
"errors": [
{
"code": 10,
"source": {
"pointer": "since"
},
"title": "2025-07-23 is not a valid ISO8601 date"
}
]
}
I'd be happy to help out and fix it if you believe this is something that should be fixed. Should we A: Update documentation and error response to match the current requirement or B: Update code to parse all common iso 8601 formats Option B is probably gonna be a bit messy, better to just keep it to a date time with utc timezone I think, so I'm leaning towards A. Haven't checked code but I assume we are using instant and that is what we want. https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html#ISO_INSTANT What do you think? Let me know if it is an issue to be fixed and I'll create a github issue.
t
I’d say it’d be good to support the date-only format if we can do this without significant headaches, particularly as we’re on a beta release series at the moment. But documenting the status quo would definitely be appreciated if not.