Skip to main content

Component service/install needs a time component

As far as I can tell, you treat the Installation Date as happening at midnight, which means if I had a big ride, got home and swapped a part out I would have to specify “tomorrow” as the date, which you do not allow. Instead I must physically wait until tomorrow to record the install for the math to add up.

Likewise, Service Date seems to be treated as 11:59pm. This means if I lube the chain before leaving the house, I have to remember to select “yesterday” to keep the maintenance interval accurate.

Even worse is if I ride to the bike shop to have service done and then ride again afterwards that the same day (we have a DIY tool station so this isn’t uncommon!) - there’s no way to record that correctly.

ProBikeGarage handles this by allowing the user specify the time in addition to date for service and component swaps. If you want to keep it backwards compatible, make the field optional and show the default it is using in each case.

Status: Completed3 comments

Log in to comment and vote

Comments3

  • Marien

    Team•

    Nov 9

    This is live. Next to the date there is now an optional time field when you install a component, remove one, move it to another bike, or edit a past installation.

    How it works:

    • Leave the time empty and nothing changes: the whole day counts, as before.

    • Add a time and activities are split at that moment. An activity before the swap counts for the old component, an activity after it for the new one.

    • On a same-day swap you only fill in the time once. The component that came off and the one that went on share it.

    • The time is in your own time zone.

    So your case, a big activity and then a swap at home that evening: set the install time to when you did the swap, and that activity stays on the old part.

    You can also fix past swaps. Open the component, go to History, edit the installation and add the time. The distances are recalculated right away.

    Services got the same optional time on 8 November.

    One thing I left out for now: the "add a new component" flow has no time field yet. Add the component first, then set the time on it through Set Component Status.

    Let me know if a swap doesn't split the way you expect.

    Marien

  • Marien

    Team•

    Nov 8

    Thanks Ryan, you read it right, and it’s now partly fixed.

    Services: the service form has an optional time next to the date. Activities before that time count before the service, later ones after it. The history then shows the date and time. Without a time nothing changes: a past date counts as the end of that day, and today counts as right now.

    Installs and removals: not yet. An install still counts from the start of the day. An activity on swap day goes to the part that’s on the bike at the end of that day, and it’s never counted for both. For a swap after a long activity, set the install date to the next day for now. A time on installs is on my list for later. It touches much more of the distance math, so it needs its own round of work.

  • Ryan Mott

    •

    Nov 7

    One correction: it looks like I can set a future date for Installation (still confusing and inaccurate!)