Hello
The reason for the following bug is, that there is added a leading 0 (too much) in case of month < 10
If reports for october to december are created, then it is ok --> month >= 10 --> OK
The report for "Colored monthly resource planning fails.
Report "Colored monthly resource planning"
hide report parameters year : 2024
month : 1 2024-01-04 11:35 ERROR : DateTime::__construct(): Failed to parse time string (2024-001-01) at position 7 (1): Unexpected character
We got following fault
:2024-01-04 10:36:31.201 ***** ERROR ***** [V11.0.3] EXCEPTION *****
2024-01-04 10:36:31.201 ***** ERROR ***** [V11.0.3] on file '/var/www/html/projeqtor/tool/projeqtor.php' at line (5498)
2024-01-04 10:36:31.201 ***** ERROR ***** [V11.0.3] cause = DateTime::__construct(): Failed to parse time string (2024-001-01) at position 7 (1): Unexpected character
2024-01-04 10:36:31.201 ***** ERROR ***** [V11.0.3] => #0 /var/www/html/projeqtor/tool/projeqtor.php (5498) -> __construct()
2024-01-04 10:36:31.201 ***** ERROR ***** [V11.0.3] => #1 /var/www/html/projeqtor/report/colorPlan.php (163) -> lastDayOfMonth()
2024-01-04 10:36:31.222 ***** ERROR ***** [V11.0.3] EXCEPTION *****
2024-01-04 10:36:31.222 ***** ERROR ***** [V11.0.3] on file '/var/www/html/projeqtor/tool/projeqtor.php' at line (5498)
2024-01-04 10:36:31.222 ***** ERROR ***** [V11.0.3] cause = DateTime::__construct(): Failed to parse time string (2024-001-01) at position 7 (1): Unexpected character
2024-01-04 10:36:31.222 ***** ERROR ***** [V11.0.3] => #0 /var/www/html/projeqtor/tool/projeqtor.php (5498) -> __construct()
2024-01-04 10:36:31.222 ***** ERROR ***** [V11.0.3] => #1 /var/www/html/projeqtor/report/colorPlan.php (163) -> lastDayOfMonth()
2024-01-04 11:19:31.166 ***** ERROR ***** [V11.0.3] EXCEPTION *****
2024-01-04 11:19:31.166 ***** ERROR ***** [V11.0.3] on file '/var/www/html/projeqtor/tool/projeqtor.php' at line (5498)
2024-01-04 11:19:31.166 ***** ERROR ***** [V11.0.3] cause = DateTime::__construct(): Failed to parse time string (2024-001-01) at position 7 (1): Unexpected character
2024-01-04 11:19:31.166 ***** ERROR ***** [V11.0.3] => #0 /var/www/html/projeqtor/tool/projeqtor.php (5498) -> __construct()
2024-01-04 11:19:31.166 ***** ERROR ***** [V11.0.3] => #1 /var/www/html/projeqtor/report/colorPlan.php (163) -> lastDayOfMonth()
2024-01-04 11:19:31.185 ***** ERROR ***** [V11.0.3] EXCEPTION *****
2024-01-04 11:19:31.185 ***** ERROR ***** [V11.0.3] on file '/var/www/html/projeqtor/tool/projeqtor.php' at line (5498)
2024-01-04 11:19:31.185 ***** ERROR ***** [V11.0.3] cause = DateTime::__construct(): Failed to parse time string (2024-001-01) at position 7 (1): Unexpected character
2024-01-04 11:19:31.185 ***** ERROR ***** [V11.0.3] => #0 /var/www/html/projeqtor/tool/projeqtor.php (5498) -> __construct()
2024-01-04 11:19:31.185 ***** ERROR ***** [V11.0.3] => #1 /var/www/html/projeqtor/report/colorPlan.php (163) -> lastDayOfMonth()
Specially the date in the following logged lines is very strange 2024-
001-1
Failed to parse time string (2024-001-01)