Fix datetime() cleaning function. Fixes #33.