fixed date in intervals
Merge pull request #260 from musamusa/bug/stock-count-intervals

fixed date in intervals