Changing timestamps format for Newman Junit report

Archived topic — this may be out of date.
Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.
Working with an AI coding agent? The Postman plugin lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.

Newman is generating timestamp="2020-12-18T15:26:52.946Z with milliseconds. Our report app only needs timestamp="2020-12-18T15:26:52 , That means, whenever We throw an XML file having milliseconds on the timestamp the parser is going to fail. Do We have way for remove milliseconds or change datetime format for Junit reports?

Hey @Artem.Gubarev

Welcome to the Postman community :rocket:

What part are you referring too - Within a collection, in the final XML report or a different place?

I’m sorry for big idle. I told about timestamps in XML reports, We are using Junit report from newman with our reporting system and found this issue. Perhaps, Newman has way for avoid it? Using customize timestamps or something else?