17228 handle fractional hours

:exclamation: Depends on https://github.com/opf/openproject/pull/2277
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.