Backport ce9efd50 from master.

Fixes DST problems we were facing. the 'from' date entered in the URL
would be shifted to one hour later. from=16:15_20140625 would show data
from 17:15.