Handle dates different than datetimes.
Increased version to 0.2.2.dev1 after release of 0.2.1.dev1.

(commit by unleash 0.5.8.dev1)