Linked Issue: #268
Summary
Enable Zerocode datetime assertions to correctly compare datetimes with different timezone offsets and HTTP date formats.
Problem
The $LOCAL.DATETIME.AFTER and $LOCAL.DATETIME.BEFORE assertions were parsing datetimes without considering timezone offsets (e.g., Z, +02:00). This meant wall-clock values were compared instead of actual instants, causing incorrect assertion results for timezone-aware dates.
Acceptance Criteria
Linked Issue: #268
Summary
Enable Zerocode datetime assertions to correctly compare datetimes with different timezone offsets and HTTP date formats.
Problem
The
$LOCAL.DATETIME.AFTERand$LOCAL.DATETIME.BEFOREassertions were parsing datetimes without considering timezone offsets (e.g.,Z,+02:00). This meant wall-clock values were compared instead of actual instants, causing incorrect assertion results for timezone-aware dates.Acceptance Criteria
2019-06-15T11:30:00+02:00)2019-06-15T10:00:00.000Z)Sat, 06 Jul 2019 17:07:15 GMT)