normalize function for cyclic time (hour, weekday)
Merge branch 'master' of github.com:edzer/spacetime