use parse() on datetime object

possible fix for #26