spekt / junit.testlogger

JUnit test logger for vstest platform (<= v3.x)
MIT License
77 stars 15 forks source link

timestamp field is rendered incorrectly #17

Closed AnashOommen closed 4 years ago

AnashOommen commented 4 years ago

The timestamp field is rendered like this:

timestamp="2020-01-24T 01:21:18Z"

whereas it should be like this: 2008-01-24T01:21:18

See the schema for more details.

https://github.com/windyroad/JUnit-Schema/blob/master/JUnit.xsd#L13

Rendering the timestamp like

DateTime.UtcNow.ToString("s")

Should give this formatting.

Siphonophora commented 4 years ago

Resolved: https://github.com/spekt/junit.testlogger/releases/tag/v2.1.32