more date time bugfixes