Make it possible to mix formats 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