Fix %D string expansion to not use millisec