Fixes #6000: Error output on Time settings at first run

Fix for http://www.rudder-project.org/redmine/issues/6000, on 2.10 branch (oldest supported) for versions 1.0 and 2.0. The bug is also present in version 3.0 in branch 2.11, a new PR for that version is coming.