fix for on day events
Merge git://github.com/fuzzyfox/SandCastle into sandcastle
Merge branch 'sandcastle' [fixes #3]