Fix date string usage