har-spec
har-spec copied to clipboard
before/afterRequest
In the before/afterRequest section, we see
"expires": "2009-04-16T15:50:36",
"lastAccess": "2009-16-02T15:50:34",
lastAccess
has the type string
indicated, but there is no mention of the ISO 8601 as it is in other "date-like" property cases. In my reading, I assumed lastAccess
was also ISO 8601. However, my unit test caught the fact that lastAccess is actually in a format like yyyy-dd-mm...
instead of yyyy-mm-dd...
as evidenced by the 16
(not a valid month).
So what is the idea here? Should i not be trying to parse this as ISO 8601? or must i fall back to it not even being "date like"? Or is this a bad example?