Pull requests

#3 Merged
Repository
ivirabyan ivirabyan
Branch
default
Repository
kmike kmike
Branch
default

Fixed week interval issue with sqlite (issue #7)

Author
  1. ivirabyan
Reviewers
Description

Fixes issue #7

Comments (3)

  1. ivirabyan author

    When used 'weeks' interval, date in sqlite were formatted with '%%Y-%%W', so for date '2013-04-05' it gives '2013-13' Later, this string is parsed as date, and it fails complaing there is no 13th month.

    Other engines return date truncated by week, for example '2013-04-05' gives '2013-04-01', so it gets successfully parsed.

    I attached additional test for this issue