Skip to content

Instantly share code, notes, and snippets.

@jhannah
Created January 12, 2023 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhannah/c7dc48c532b1b3929143d4815639662b to your computer and use it in GitHub Desktop.
Save jhannah/c7dc48c532b1b3929143d4815639662b to your computer and use it in GitHub Desktop.
Am I taking too much / too little time off?
With our "unlimited PTO" policy, I was curious if I've been, roughly, taking too much or too little time off.
So I dumped all my worked hours out of Tempo (Jira) since 2018.
Here's my source code:
https://github.com/jhannah/sandbox/blob/main/jhannah/hours.pl
And here's the result of running the program:
✗ perl hours.pl
Per year: 4 weeks off (PTO + sick) + 11 holidays
Monthly quota: 152.7
year-month hours_worked hours_banked
2018-01 197 44
2018-02 162 54
2018-03 187 88
2018-04 156 91
2018-05 138 77
2018-06 155 79
2018-07 164 90
2018-08 183 121
2018-09 138 106
2018-10 186 139
2018-11 163 150
2018-12 147 144
2019-01 165 156
2019-02 155 159
2019-03 90 96
2019-04 170 113
2019-05 168 129
2019-06 158 134
2019-07 181 162
2019-08 194 204
2019-09 73 124
2019-10 205 176
2019-11 159 183
2019-12 137 167
2020-01 171 185
2020-02 145 178
2020-03 144 169
2020-04 176.5 193
2020-05 164.5 205
2020-06 168 220
2020-07 176 243
2020-08 158 249
2020-09 155.5 252
2020-10 163 262
2020-11 151 260
2020-12 158 266
2021-01 149.5 262
2021-02 148.5 258
2021-03 151 257
2021-04 163 267
2021-05 156 270
2021-06 182 300
2021-07 85.5 232
2021-08 142.5 222
2021-09 165 235
2021-10 158 240
2021-11 161 248
2021-12 171.5 267
2022-01 159.5 274
2022-02 157.5 279
2022-03 189 315
2022-04 170.5 333
2022-05 149.5 330
2022-06 103 280
2022-07 153.5 281
2022-08 163 291
2022-09 165.5 304
2022-10 159 310
2022-11 160 318
2022-12 154 319
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment