Time on X-axis not rendering correctly