Fix zerofill for time series