{"action":"opened","issue":{"url":"https://api.github.com/repos/spotify/luigi/issues/1379","labels_url":"https://api.github.com/repos/spotify/luigi/issues/1379/labels{/name}","comments_url":"https://api.github.com/repos/spotify/luigi/issues/1379/comments","events_url":"https://api.github.com/repos/spotify/luigi/issues/1379/events","html_url":"https://github.com/spotify/luigi/issues/1379","id":115876874,"number":1379,"title":"DateIntervalParameter not ISO8601 interval?","user":{"login":"wires","id":315734,"avatar_url":"https://avatars.githubusercontent.com/u/315734?v=3","gravatar_id":"","url":"https://api.github.com/users/wires","html_url":"https://github.com/wires","followers_url":"https://api.github.com/users/wires/followers","following_url":"https://api.github.com/users/wires/following{/other_user}","gists_url":"https://api.github.com/users/wires/gists{/gist_id}","starred_url":"https://api.github.com/users/wires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wires/subscriptions","organizations_url":"https://api.github.com/users/wires/orgs","repos_url":"https://api.github.com/users/wires/repos","events_url":"https://api.github.com/users/wires/events{/privacy}","received_events_url":"https://api.github.com/users/wires/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-09T13:32:15Z","updated_at":"2015-11-09T13:32:15Z","closed_at":null,"body":"Hello,\r\n\r\naccording to [the docs](https://luigi.readthedocs.org/en/latest/api/luigi.html?highlight=interval#luigi.DateIntervalParameter) `DateIntervalParameter` uses [ISO 8601 Time Interval notation](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals).\r\n\r\nHowever, there are four ways to express a time interval (according to wikipedia):\r\n\r\n1. Start and end, such as `2007-03-01T13:00:00Z/2008-05-11T15:30:00Z`\r\n2. Start and duration, such as `2007-03-01T13:00:00Z/P1Y2M10DT2H30M`\r\n3. Duration and end, such as `P1Y2M10DT2H30M/2008-05-11T15:30:00Z`\r\n4. Duration only, such as `P1Y2M10DT2H30M`, with additional context information\r\n\r\nLooking at [the tests for `date_interval`](https://github.com/spotify/luigi/blob/master/test/date_interval_test.py#L130) it seems this is not what is implemented:\r\n\r\n- `2015-01-01-2015-01-30` is considered a valid time interval\r\n- this should probably be `2015-01-01/2015-01-30`\r\n\r\n\r\n"}}