KiARC / Sobriety

A simple and minimal app to track how long you've been sober from anything you want.
GNU General Public License v3.0
75 stars 9 forks source link

Provide Option to Turn off Hours,Minutes & Seconds. With Only Years ,Months and Days !! #103

Open saravanaprabhuu opened 1 year ago

saravanaprabhuu commented 1 year ago

Not All the Tasks or Addictions are required to be tracked by Hours , Minutes and Seconds . It will be Clutter Free If Only years , Months and Days are Displayed for a particular Tasks. Sometimes Minutes and Seconds are distracting if we have Lot of tasks added.

KiARC commented 8 months ago

I'll be working on the ideas in #110 , including changing the current display to only show Hours if <24, and only showing minutes if <60. Does that sound like a good solution?

M00NJ commented 8 months ago

That is a good idea! Another option would be to let the user select the time format with check boxes, something like this:

Time format:

I personally would probably only choose days and be really happy when I reach 1000+ one day. But I think both approaches are good. One is simpler and handles the time string automatically, the other one is more customizable but requires user input. It's up to you to choose what fits your project better :)

KiARC commented 8 months ago

I think maybe allowing two adjacent ones (minutes and seconds, hours and minutes, etc.) could be good. Nobody will realistically need "minutes and years" but I could see "days and hours" being helpful.

M00NJ commented 8 months ago

I think maybe allowing two adjacent ones (minutes and seconds, hours and minutes, etc.) could be good. Nobody will realistically need "minutes and years" but I could see "days and hours" being helpful.

Yeah that makes sense.