Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #11141] tm_hour = 24 not valid according to manuals #3930
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11141
Created by gvde on 2016-02-11 12:50:17 +00:00
According to the manual pages for the struct tm and other places tm_hour is 0-23. Thus even though settings it to 24 may work as intended at this time there is no guarantee for the future.
Found at least twice in root/lib/icinga/legacytimeperiod.cpp and maybe elsewhere, too.
Updated by gbeutner on 2016-05-11 06:49:45 +00:00
The mktime(3) manpage seems to suggest that this is in fact supported: