lcfd / trak

Keep a record of the time you dedicate to your projects.
https://usetrak.com
GNU Affero General Public License v3.0
11 stars 2 forks source link

[report projects] Rework rate/hour for projects #68

Open lcfd opened 4 months ago

lcfd commented 4 months ago

This is a simpler but similar workflow than works. It's all condensed in the project/details.json file. Still to evaluate.

Projects

Now the rate is just a single integer value. It doesn't support rate changes over time.

The new version should be:

{
  "rates": [
    {"start": "2024-04-01T00:00", "start": "2024-04-30T24:00", }
  ]
}

rate becomes rates, it will be an array containing intervals.

Report

Screen for reference