Fix date not following setting set format

latest commit 4bb5236e59
Edwin Finch authored