Fix date rendering