csvImport: fix modified and creation time import #12379
Open
+2
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Creation and last modification time stamps are imported incorrectly during CSV import:
* the imported created time is set to the CSV's last modified time
* the imported last modified time is set to the CSV's icon index (which isn't a valid time usually and gets set to the current date & time instead).
The reason is commit 33a3796 ("Add ability to parse tags from CSV files") which shifted indices but missed to update all relevant time related code locations.
Update the missing indices for those two to fix the import.
Fixes: 33a3796 ("Add ability to parse tags from CSV files")
Screenshots
Testing strategy
Type of change