fixed date formatting issue

strftime was not correct