fixes day comparison
Merge pull request #395 from efernandez/xmlrpc_tm_comparison

fixes day comparison