improved international date/time handling, fixes #55