To reproduce the problem:
create a custom work hours schema
set days per week and hours per day to custom values
add user to that work hours schema
try to log work "30m" of work. This operation will fail with error "time spent can not be zero"