Fix timezone handling in the histogram panel, in particular for

intervals of 1 day or more.  Also allow for any timezone to be set,
not just 'utc' and 'browser'.