Skip to content

Conversation

andred
Copy link
Contributor

@andred andred commented Aug 12, 2025

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

  • ✅ Bug fix (non-breaking change that fixes an issue)

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.

* Closes keepassxreboot#12378

Fixes: 33a3796 ("Add ability to parse tags from CSV files")
Signed-off-by: André Draszik <andre.draszik@linaro.org>
@droidmonkey
Copy link
Member

Yikes this is my fault

@droidmonkey droidmonkey added this to the v2.7.11 milestone Aug 12, 2025
@droidmonkey droidmonkey merged commit 544f983 into keepassxreboot:develop Aug 24, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: incorrect time stamps during CSV import
2 participants