Skip to content

Commit

Permalink
Add "Tijd voor tijd" to leave teasks
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaScorpion committed Nov 9, 2023
1 parent 8b66609 commit 4ab4969
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## v1.5.1

- Add "Tijd voor tijd" to leave tasks.

## v1.5.0

- Exclude leave tasks from billability calculation.
- Exclude leave tasks ("Bijzonder verlof", "Feestdag", "Verlof") from billability calculation.
- Show leave hours in tooltip.

## v1.4.0
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "TimeChimp Billability Chart",
"description": "Adds a billability chart on the TimeChimp hours page.",
"version": "1.5.0",
"version": "1.5.1",
"manifest_version": 3,
"permissions": [
"webRequest"
Expand Down
7 changes: 6 additions & 1 deletion src/content/stats.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import { Time } from '../TimeChimpApi';
import { getWeek } from 'date-fns';

const LEAVE_TASKS = ['Bijzonder verlof', 'Feestdag', 'Verlof'];
const LEAVE_TASKS = [
'Bijzonder verlof',
'Feestdag',
'Tijd voor tijd',
'Verlof',
];

type TimesByWeek = Record<number, Time[]>;

Expand Down

0 comments on commit 4ab4969

Please sign in to comment.