hangxingliu / vscode-coding-tracker

:clock10: A coding activities tracker(time, file, type)
GNU General Public License v3.0
171 stars 34 forks source link

Using timestamps in database #2

Closed ted-piotrowski closed 7 years ago

ted-piotrowski commented 7 years ago

Hey, just wanted to show you the changes I made to use timestamps. I retained splitting of files based on datetime, but use timestamps inside the file.

Maybe my reporting logic is wrong, but it seems to way under-report the time I spend coding. It said only 30 minutes yesterday :(, but I thought I worked at least 2 hours.

hangxingliu commented 7 years ago

I am coding this project today and next some days. I could not response quickly. Because I need to upgrade the server program and tracking data protocol and fixed some bug in the extension(I think there are some event changed after visual studio code upgrade, so maybe there the reason why you feel it calculate less time than actually). Now I have cherry-pick two commits in this pull-request. and working on the develop branch. after finish this version develop. I will response and commit(include some visual analyzer).

hangxingliu commented 7 years ago

I had cheery-pick your two commits to change date time format string to timestamp. And report codes I will work tomorrow. You could get a visual data analyze page in VSCode when I finished report codes and commit. (P.s. You got 30 mins but not 2 hours tracking data isn't your report wrong. It is a bug in extension and a wrong event emit from VSCode)