Error with different format of "from" and "until"

When one was defined with "-2d" and the other with "HH:mm_YYYYMMDD"
a error occured because the datetime objects produced weren't comparable.
This patch make them comparable whatever their format
Merge pull request #644 from g76r/f_fromuntil

Make it possible to mix formats of "from" and "until"