jest-junit icon indicating copy to clipboard operation
jest-junit copied to clipboard

fix: remove truncation of timestamp

Open joseph-sentry opened this issue 1 year ago • 1 comments

I was taking a look at the JUnit XML output and I noticed that the timestamp on the testsuite element was missing a timezone specification. I looked at the code and noticed that the end of the timestamp was being truncated. This PR removes that truncation in order to retain the timezone information.

joseph-sentry avatar Jun 14 '24 18:06 joseph-sentry

This change seems reasonable to me. I'm currently fixing CI so once that's fixed I'll ask you to rebase.

https://github.com/jest-community/jest-junit/pull/267

palmerj3 avatar Jun 14 '24 23:06 palmerj3