It’s almost done (it would take one or two weeks to clean it up for FOSS release). It’s a CLI tool. It works great for my use case, but I’m wondering if there’s any interest in a tool like this.

Say you have a simple time-tracking tool that tracks what you do daily. The only problem is that there are gaps and whatnot, which might not look nice if you need to send it to someone else. This tool fixes pretty much all of that.

Main format is a JSON with a “description”, and either “duration” or a “start”/“end” pair. It supports the Timewarrior format out of the box (CLI Time tracking tool).

  • boaratio@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    7 days ago

    OT: What program are these diagrams made with? I’ve seen them floating around recently and really like the looks of them.

  • toastal@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    4
    ·
    5 days ago

    “FOSS” here doesn’t mean hosted exclusively on proprietary Microsoft GitHub, right?

    • sebastiancarlos@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      5 days ago

      Yes, I’ll host the source code on GitHub. I could consider mirroring it on Sourcehut if there’s enough interest, but I prefer the PR and Issues workflow on GitHub for collaboration. Plus, more people tend to have GitHub accounts than GitLab or Sourcehut, which makes it easier for contributors.

      I get the concern about Microsoft, and while I’m not a fan of the company, GitHub has advantages that are hard to beat, especially for community reach. As for OpenAI potentially using the code, personally I don’t mind if my own code gets used for AI training.

      I’ll be using an MIT license, in case you’re curious. Everyone is free to mirror it anywhere.

  • 𝕸𝖔𝖘𝖘@infosec.pub
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    5
    ·
    edit-2
    7 days ago

    Outputting clean reports is one thing, but “normalizing” the time to make it look better, or as though I’m more busy, is something else entirely. I appreciate the effort, but this tool has the very real potential to get a contractor or employee sued for time fraud. I highly recommend against normalization of time data. The contractor either worked a full 30 or s/he didn’t. It’s black and white. Saying s/he worked for 30 when s/he worked for 25 is a lie, and subject to lawsuits and further legal action.

    • Caveman@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      6 days ago

      Don’t know why you would jump to that conclusion straight away. Mín billable hours and time spent thinking on the problem is a thing. Taking regular 5m breaks (pomodoro technique) also helps with getting things done and so on and people should be paid for it.

      I mean, you should technically stop the clock if the wife calls to ask if there’s pasta at home but nobody really cares.

      Adding significant amount of hours to a report would not be ethical but adjusting 10% to get paid for time laying in bed thinking about problems is still ethical from my point of view. It’s way more value than most meetings.

      Your cultural context way vary.

      • 𝕸𝖔𝖘𝖘@infosec.pub
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        6 days ago

        What someone feels is ethical and what may be legal don’t always match. From a legal point of view in every country I’ve worked at as a contractor, “time laying in bed thinking about problems” isn’t billable time.

        As a personal time management solution, I don’t see any issues here. As a billable time report maker, it has the very real potential to get the user into legal turmoil.

        Use at your own risk and made damn sure that the laws match your idea of ethical billable hours, is all I’m saying.

    • yetiftw@lemmy.world
      link
      fedilink
      arrow-up
      28
      arrow-down
      3
      ·
      7 days ago

      “they” uses the same number of characters as “s/he” and flows more naturally

  • totoro@slrpnk.net
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    7 days ago

    This sounds really cool. I have actually made something similar (unpublished and quite hacky though).

    I work as a self-employed contractor and must report my times in varying standardised formats, depending on the client or agency I am working with. My input data comes from TimeWarrior (like yours) and I usually just output CSV data so I can copy-paste that into a provided excel template.

    Quantizing the data is usually the most essential step as the templates often restrict accuracy. I find it strange that many of the comments here presume this kind of transformation to be fraudulent.

  • raspberriesareyummy@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    7 days ago

    As someone who works atrocius times of their own volition & has to create a clean timesheet every end of the month, this is a great idea -buyt there are too many special rules to consider imo - also I never properly track time (keep forgetting) but reconstruct work times from emails, chats & calendar entries :)

    • flashgnash@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      7 days ago

      Could have some kind of floating timer window/widget in your bar so you don’t forget

      • raspberriesareyummy@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        7 days ago

        The problem is working on different computers & sometimes switching back and forth between private time and work time. That’d require actual button presses or something to “clock” in/out

        • flashgnash@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          7 days ago

          Ah I see. At my previous company we developed an in house clock in/out system that I always forgot to use. Never did but I wanted to build a big red button with an Arduino that clocked me in and out with the API and showed a timer

          • raspberriesareyummy@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            6 days ago

            Big red button might help, but when I’m “in the zone” with coding, normally I forget everything around me :) One moment I’ll be browsing the web on my leisure time, and then I have an idea for one of my work projects, switch to that and “wake up” 8 hours later with lots of stuff done and no idea when I “clocked in” - that’s usually when I do “ls -lR” on my project folders and check file timestamps :D

            • flashgnash@lemm.ee
              link
              fedilink
              arrow-up
              1
              ·
              6 days ago

              This makes me glad not to be on the clock, I suck at remembering to do that stuff.

              Though I tend to hyper focus on one thing for 4 or 5 hours at a time anyway

  • delirious_owl@discuss.online
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    7 days ago

    I just say I worked X hours per day, above my log entries describing what I did that day. Why do they need anything more than that?

    • naeap@sopuli.xyz
      link
      fedilink
      arrow-up
      4
      ·
      6 days ago

      Sometimes I work on a larger project that is split up in different sub projects, that were sold separately and are maybe paid by different departments. So I need to at least spilt those up.
      Also it’s often easier to follow what exactly was done, when I differentiate more between my tasks and not just put a collective line there - just like small commits are more helpful than one large one.

      But maybe I understood you wrong…?

  • joranvar@feddit.nl
    link
    fedilink
    arrow-up
    7
    ·
    7 days ago

    I do my time tracking in org-mode, and export it to JIRA once a day or so. It is quite a specific/tailored setup, written in a mix of elisp and, well, org-mode (specific names and tags are used to configure some settings), but I’d love to look at this tool to see if I can extend my workflow by using it for the “massaging into a nicer shape” part. I might end up writing some extensions for either side (org-mode input format and JIRA REST calls output format).

    My current tooling quantizes everything by rounding start and end times to the nearest full 15 minutes, and starting a new task at the end time of the previous one when clocking in, so that my team lead does not have to report so many fractions of hours to higher layers.

  • Grass@sh.itjust.works
    link
    fedilink
    arrow-up
    5
    ·
    7 days ago

    So this requires some kind of existing tracking software? Are there existing FOSS options for that part?

    My current job doesn’t need time tracking (yet?, some of my work is for the sister company) but a job I worked before had us clock in and out for specific projects on a computer, but the subscription ended and we were using a UI glitch to continue using it and literally cheat engine to make it still export the files for the office to use.

  • Nickm8@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    7 days ago

    I would use it, let me know if you need any testing or feedback. What is it written in?