Fixed error position for "Time spanning more than two midnights not supported".