hodooor / Hodoor

Server side for Hodoor - Casual attendance system
GNU General Public License v3.0
8 stars 6 forks source link

Wrong quota hours for December year X when viewed during year X + n #138

Open OndrejVicar opened 5 years ago

OndrejVicar commented 5 years ago

image

Quota should be 144 hours and is 168.00 according to this: https://kalendar.beda.cz/mesicni-planovaci?type=s1&month=12&year=2018

ToKraTheSecond commented 5 years ago

Same for September 2018 -> 160.00 vs 152.00 (kalendar link)

image

And July, May, April, March and January.

It seems that for some reason work hour counter takes value 2 instead of value 1:

image

ToKraTheSecond commented 4 years ago

Same thing happend this year <3