Make use of aware datetime objects.

see #399