master: fix "graph_period hour"

The "graph_period hour" setting does not work as expected, it stays "second".

Closes: #1305
Merge branch 'fix/1305-graph-period-hour-not-working' into stable-2.0