Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong holiday count with 3.1.5 - Ok with 3.1.2 #31

Open
eandry77 opened this issue Jul 31, 2024 · 2 comments
Open

Wrong holiday count with 3.1.5 - Ok with 3.1.2 #31

eandry77 opened this issue Jul 31, 2024 · 2 comments

Comments

@eandry77
Copy link

Hi,

the holiday count is broken after uprade from 3.1.2 to 3.1.5.
Glpi version 10.0.16

For example holiday count changed from :
11 days -> 112 days
1 day -> 10.25 days
4 days -> 40.75 days
0.5 days -> 5.25
14 days -> 142.5

I've looked in the code to see what triggered this change, but i'm not a php/mariadb expert.

Thans for your help,

@eandry77
Copy link
Author

Well it my be because of updated holiday.class.php.

I'll investigate on this.

@eandry77
Copy link
Author

My mistake, holiday.class.php was modified 2 years ago.

I think the culprit might be in commit f353de6, since it modifies somthing with the actiontime field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant