lordi / tickmate

One bit journal
GNU General Public License v3.0
111 stars 34 forks source link

Time info code cleanup #112

Closed StefRe closed 7 years ago

StefRe commented 7 years ago

Time info is saved to the database for ticks on the current day but not used in the program anywhere. On the contrary, all calendar operations rely on the fact that the time info is cleared. This can be simplified by not loading the time info from the database in the first place. This allows to remove the instructions clearing the hour, minutes, seconds, and milliseconds scattered all over the code. The change in ButtonHelpers.java addressed issue #111.

lordi commented 7 years ago

Thanks, will test