Fixes #6171, #5947, #5945
Date formatting issues, Fixes #6193