Skip to content

Commit

Permalink
Merge pull request #2590 from ControlSystemStudio/revert-2589-master
Browse files Browse the repository at this point in the history
Revert "Display Builder: last save timestamp and user in BOB file comment"
  • Loading branch information
kasemir authored Mar 14, 2023
2 parents baa8f10 + c17f0f3 commit e5dfb47
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public ModelWriter(final OutputStream stream) throws Exception
writer = new IndentingXMLStreamWriter(base);

writer.writeStartDocument(XMLUtil.ENCODING, "1.0");
writer.writeComment("Saved on " + TimestampFormats.SECONDS_FORMAT.format(Instant.now()) + " by " + System.getProperty("user.name"));
if (with_comments)
writer.writeComment("Created " + TimestampFormats.DATETIME_FORMAT.format(Instant.now()));
writer.writeStartElement(XMLTags.DISPLAY);
writer.writeAttribute(XMLTags.VERSION, DisplayModel.VERSION.toString());
}
Expand Down

0 comments on commit e5dfb47

Please sign in to comment.