Coder Social home page Coder Social logo

Comments (2)

gnutix avatar gnutix commented on June 11, 2024

Related : #131 (so if I run taxi start at 13:54, it would write TT-1 13:54-? ?

from taxi.

sephii avatar sephii commented on June 11, 2024

It's a feature to prevent having small gaps when timesheeting, eg. if you run taxi stop, then take a small break, or take some time figuring out what you'll work on next, running taxi start should continue the previous entry. I agree it can be confusing and error prone though.

I can think of several ways of fixing this. First one would be to set a threshold above which the new entry uses the current time instead of the activity end time. Second one would be to introduce a --continue flag to the start entry (or a continue command), to keep the current behaviour of continuing the previous entry. I think #2 is better, but it's not easy to do, because it would require careful consideration of the duration rounding, to make sure the new entry doesn't start before the last one (and it might also create surprises where taxi start doesn't actually use the current time if the previous entry end time is in the future).

from taxi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.