https://github.com/lucemans/toggl2human
https://github.com/lucemans/toggl2human
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lucemans/toggl2human
- Owner: lucemans
- Created: 2021-08-06T11:57:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-06T12:28:29.000Z (almost 5 years ago)
- Last Synced: 2025-03-21T06:46:39.079Z (over 1 year ago)
- Language: TypeScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Toggle2Human
## Setup
Install the dependencies using yarn (or npm)
```bash
yarn
```
Copy the `.env.example` file and name it `.env`
Add your API Token into the `.env` file. Find your API token at
> ``API Token``
## Usage
Change the date on line `42` of `src/index.ts`
Run the script
```bash
yarn start
```
---
**DISCLAIMER**:
If you still have active tracking entries on the day you are attempting to calculate the output will contain incorrect results due to the toggl api returning a negative timestamp. If this issue is of your concern, please feel free to make a PR.
---