stable

Clone or download

Read-only

fix: request #38668 All dates in the exported XLSX documents are moved to UTC TZ

We work around some changes made by the upstream to keep the dates as they are displayed in web UI/retrieved in the REST API. Instead of working with a `Date` that might get some transformation during the work done by `xlsx` we work directly on the ISO strings we get from the API. To prevent the dates being moved to UTC we cut off the TZ info. Introduced by 59c7d754b8ae69111a3617dbe4428897b78d27a3. Change-Id: I16b77782723239b0bdbde3739d4a1f97f4f30299

Modified Files

Name
M plugins/document_generation/scripts/lib/xlsx/src/report-cells.test.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/lib/xlsx/src/report-cells.ts +1 −1 Go to diff View file
A plugins/document_generation/scripts/lib/xlsx/src/transform-report-cell-to-sheet-cell.test.ts +37 −0 Go to diff View file
M plugins/document_generation/scripts/lib/xlsx/src/transform-report-cell-to-sheet-cell.ts +16 −6 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Data/transform-field-value-into-formatted-cell.test.ts +6 −6 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Data/transform-field-value-into-formatted-cell.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Exporter/XLSX/transform-report-to-xlsx-sheet.test.ts +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/general-information-builder.test.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/general-information-builder.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/justifications-builder.test.ts +9 −9 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/requirements-builder.test.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/test-results-builder.test.ts +4 −4 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/transform-field-value-into-cell.test.ts +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/Section/transform-field-value-into-cell.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/get-planned-test-cases.test.ts +3 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsSpreadsheet/Report/get-planned-test-cases.ts +2 −4 Go to diff View file