Fixes for international date line crossing.