Render dates correctly