ValueError can be raised by the datetime module too...

fix #556
Version 1.1.5
Merge branch '1.1.x'