Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicates #112

Open
lepeter2010 opened this issue Jun 20, 2024 · 3 comments
Open

Remove duplicates #112

lepeter2010 opened this issue Jun 20, 2024 · 3 comments

Comments

@lepeter2010
Copy link

lepeter2010 commented Jun 20, 2024

Is there a way to remove the duplicate imports from the database?
I used the "Merge in" feature after a previous crash and did not realize that the database now contains the previous years' data multiple times:
image
The bottom part of the stat is the correct data, the top part is incorrect, it shows 30+ hours daily activity for most days.

@aardappel
Copy link
Owner

There certainly is no way to "unmerge" that data, as merging simply produces the same entry as if you actually had spent twice the time.

The only way to fix this is to add code that halves times for all entries within a date range.

You'd typically make backups before doing merges. Your folder of database files may still contain backups.

@lepeter2010
Copy link
Author

Thank you for the response.
Since I realized only several month later that the import was not not perfect, I did not have a chance to restore it from a backup.
Some export/import possibility would be useful to handle these kind extra manipulations,
Is there a chance that there will be a csv/txt/html/etc export/import option in the tool?

@aardappel
Copy link
Owner

I certainly don't have time to work on additional such options myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants