Revert "Fix time calculation by setting the seconds to 0"

This reverts commit 822bc1fdde4d5c2be8ab69abd375359ddeaa6c07.