datetime: avoid converting to date

This is deprecated and removes a bunch of warnings.
Still need to go through all of stoqlib/gui.

Change-Id: Ib94b4bb2b47a65bcbf6429119121d6ad2b2756dd
Merge "datetime: avoid converting to date"