SimpleTimeTracker icon indicating copy to clipboard operation
SimpleTimeTracker copied to clipboard

Start & End Time in Export

Open DvP17 opened this issue 2 years ago • 3 comments

Thank you for this great extension! I like that it is so compact!

Would it be possible to add start and end times when exporting the csv ?

Perhaps it might be difficult as of right now since it only stores the total time and not new time when you click the play button again.

For the export csv maybe only a second (nth) row with the same task name and the time could be added.

Edit: I think it's great to not have too many detailed info in the application, but for the export it would make sense if you have to store the time spend on different tasks (e.g., for a job).

DvP17 avatar Feb 20 '24 18:02 DvP17

I guess you want to export all log times started and stopped for a job, right?

For ex timer logs of sample task:

Log: 2024-02-19 09:20:18 - 2024-02-19 09:27:56
Log: 2024-02-19 10:32:59 - 2024-02-19 11:01:22
Log: 2024-02-19 19:42:01 - 2024-02-19 21:54:40

If this is what you are saying, then yes, this is not possible for now. Because as you said, we only keep the total times.

afbora avatar Feb 20 '24 19:02 afbora

I think https://github.com/afbora/SimpleTimeTracker/issues/6 request is same with your idea.

afbora avatar Feb 20 '24 19:02 afbora

Thank you for your reply!

Yes, the logs mentioned by you would be what I was looking for. I mean basically it wouldn't be needed to show the times but simply a log on when you clicked the play button for the different tasks and save the time and date - if this might be easier to implement.

#6 seems related but focuses on daily time spent. To simply have all the logs when the play button was clicked solves also this problem - you can simply calculate the sums in your spreadsheet program.

DvP17 avatar Feb 21 '24 07:02 DvP17