Fixed time conversion bug.