knutin/edatetime — pull request #4 by tgrk (2013-12-09 19:01:40+00:00)
Title: Fix map infinity loop and add type spec

In case end is greater than start or end is lower than next shift map ended up in infinite loop.