Fixes the way dates are displayed