from and until granularity

Regardles of the repository setting the from and until parameters must
handle day granularity. Error message fixed
Merge pull request #34 from kosarko/dates_fix

from and until granularity