Fix the date formatting bug  (again).
Use filemtime instead so we can fix file times manually.