How to correctly round-trip dates in Views - ERM 7.0.2
When I export a View in ERM (DNG) v7.0.2 to Excel the date fields look like:
2 answers
Davyd Norris commented:
Comments
I do not have special experience with DOORS Next. My experience with date export and import in Jazz products so far has been as follows: 1. Some dates can not be modified at all. As an example the Modified date for things such as work items.
The format is important, there are certain expectation on how the date is formatted.
For Excel, I do not think that the format of the cell is important.
Having said that, if you have a custom property with a date/time, I would expect that you can import the values you exported and the updated values in a correct string format. If this is not the case I would open a case with support to be able to better share the data.
That would be why I deleted that response David - I reread your post and realised you're going the other way.
> if I try to round-trip this spreadsheet by making some changes, then re-importing it, DOORS rejects the dates as invalid
In spreadsheet exports, Date and Datetime values are exported as strings like:
- "November 1, 2022"
- "October 2, 2022 at 2:30:00 AM PDT"
Comments
Thanks Ian,
Comments
Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 03 '22, 1:55 p.m.So you're saying you can't reimport an unmodified CSV (i.e. as exported) without errors? I can't reproduce this on 7.0.2SR1. What iFix are you using?
Davyd Norris
Nov 03 '22, 6:35 p.m.Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 09 '22, 4:31 a.m.Well yes it's exported as a string and not a standard date format that I know of, but it does roundtrip, at least with 6.0.6.1 and 7.0.2SR1 that I tried. And I can modify the CSV/XLS/XLSX consistent with the exported Date or Datetime format and then reimport.