Use correct day names when formatting dates (#6207)

Change-Id: I2010f87ef4f9359cdc95104cc02c83355a8630ed