Fixes #5376 DateTime to minutes