fix for broken 24:00-time arithmetic

see issue #101