{"action":"created","comment":{"url":"https://api.github.com/repos/nugit/datetime-utils/pulls/comments/237378923","pull_request_review_id":179659745,"id":237378923,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzM3ODkyMw==","diff_hunk":"@@ -3,231 +3,305 @@ const sinon = require('sinon');\n \n const datetimeUtils = require('../src/main').default;\n \n-describe('should retrieve period string', () => {\n+describe('#retrievePeriod', () => {\n   describe('without baseDate', () => {\n-    let clock;\n-    beforeAll(() => {\n-      clock = sinon.useFakeTimers(new Date('2017-03-20').getTime());\n-    });\n+    describe('when current date is 20/03/2017', () => {\n+      let clock;\n+      beforeAll(() => {\n+        clock = sinon.useFakeTimers(new Date('2017-03-20').getTime());\n+      });\n \n-    it('should retrieve today', () => {\n-      const period = datetimeUtils.retrievePeriod('today');\n-      expect(period.start).to.equal('2017-03-20');\n-      expect(period.end).to.equal('2017-03-20');\n-    });\n+      it('should today period be 19/03/2017 (interpreted as yesterday, as today is deprecated)', () => {\n+        const period = datetimeUtils.retrievePeriod('today');\n+        expect(period.start).to.equal('2017-03-19');\n+        expect(period.end).to.equal('2017-03-19');\n+      });\n \n-    it('should retrieve yesterday', () => {\n-      const period = datetimeUtils.retrievePeriod('yesterday');\n-      expect(period.start).to.equal('2017-03-19');\n-      expect(period.end).to.equal('2017-03-19');\n-    });\n+      it('should yesterday period be 19/03/2017', () => {\n+        const period = datetimeUtils.retrievePeriod('yesterday');\n+        expect(period.start).to.equal('2017-03-19');\n+        expect(period.end).to.equal('2017-03-19');\n+      });\n \n-    it('should retrieve year_to_date', () => {\n-      const period = datetimeUtils.retrievePeriod('year_to_date');\n-      expect(period.start).to.equal('2017-01-01');\n-      expect(period.end).to.equal('2017-03-20');\n-    });\n+      it('should last_week period be [13/03/2017 - 19/03/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_week');\n+        expect(period.start).to.equal('2017-03-13');\n+        expect(period.end).to.equal('2017-03-19');\n+      });\n \n-    it('should retrieve all_time', () => {\n-      const period = datetimeUtils.retrievePeriod('all_time');\n-      expect(period.start).to.equal('2014-03-20');\n-      expect(period.end).to.equal('2017-03-20');\n-    });\n+      it('should this_week period be [13/03/2017 - 19/03/2017] as today is Monday', () => {\n+        const period = datetimeUtils.retrievePeriod('this_week');\n+        expect(period.start).to.equal('2017-03-13');\n+        expect(period.end).to.equal('2017-03-19');\n+      });\n \n-    it('should retrieve last_week', () => {\n-      const period = datetimeUtils.retrievePeriod('last_week');\n-      expect(period.start).to.equal('2017-03-13');\n-      expect(period.end).to.equal('2017-03-19');\n-    });\n+      it('should this_month period be [01/03/2017 - 19/03/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('this_month');\n+        expect(period.start).to.equal('2017-03-01');\n+        expect(period.end).to.equal('2017-03-19');\n+      });\n \n-    it('should retrieve last_month', () => {\n-      const period = datetimeUtils.retrievePeriod('last_month');\n-      expect(period.start).to.equal('2017-02-01');\n-      expect(period.end).to.equal('2017-02-28');\n-    });\n+      it('should last_month period be [01/02/2017 - 28/02/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_month');\n+        expect(period.start).to.equal('2017-02-01');\n+        expect(period.end).to.equal('2017-02-28');\n+      });\n \n-    it('should retrieve last_quarter', () => {\n-      const period = datetimeUtils.retrievePeriod('last_quarter');\n-      expect(period.start).to.equal('2016-10-01');\n-      expect(period.end).to.equal('2016-12-31');\n-    });\n+      it('should this_quarter period be [01/01/2017 - 19/03/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('this_quarter');\n+        expect(period.start).to.equal('2017-01-01');\n+        expect(period.end).to.equal('2017-03-19');\n+      });\n \n-    it('should retrieve last_year', () => {\n-      const period = datetimeUtils.retrievePeriod('last_year');\n-      expect(period.start).to.equal('2016-01-01');\n-      expect(period.end).to.equal('2016-12-31');\n-    });\n+      it('should last_quarter period be [01/10/2016 - 31/12/2016]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_quarter');\n+        expect(period.start).to.equal('2016-10-01');\n+        expect(period.end).to.equal('2016-12-31');\n+      });\n \n-    it('should retrieve last_3_days', () => {\n-      const period = datetimeUtils.retrievePeriod('last_3_days');\n-      expect(period.start).to.equal('2017-03-17');\n-      expect(period.end).to.equal('2017-03-19');\n-      const period2 = datetimeUtils.retrievePeriod('last3days');\n-      expect(period2.start).to.equal('2017-03-17');\n-      expect(period2.end).to.equal('2017-03-19');\n-    });\n+      it('should this_year period be [01/01/2017 - 19/03/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('this_year');\n+        expect(period.start).to.equal('2017-01-01');\n+        expect(period.end).to.equal('2017-03-19');\n+      });\n \n-    it('should retrieve last_3_weeks', () => {\n-      const period = datetimeUtils.retrievePeriod('last_3_weeks');\n-      expect(period.start).to.equal('2017-02-27');\n-      expect(period.end).to.equal('2017-03-19');\n-      const period2 = datetimeUtils.retrievePeriod('last3weeks');\n-      expect(period2.start).to.equal('2017-02-27');\n-      expect(period2.end).to.equal('2017-03-19');\n-    });\n-    it('should retrieve last_3_months', () => {\n-      const period = datetimeUtils.retrievePeriod('last_3_months');\n-      expect(period).to.deep.equal({\n-        start: '2016-12-01',\n-        end: '2017-02-28',\n+      it('should last_year period be [01/01/2016 - 31/12/2016]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_year');\n+        expect(period.start).to.equal('2016-01-01');\n+        expect(period.end).to.equal('2016-12-31');\n       });\n-      const period2 = datetimeUtils.retrievePeriod('last3months');\n-      expect(period2).to.deep.equal({\n-        start: '2016-12-01',\n-        end: '2017-02-28',\n+\n+      it('should year_to_date period be [01/01/2017 - 19/03/2017] (deprecated and interpreted as this_year)', () => {\n+        const period = datetimeUtils.retrievePeriod('year_to_date');\n+        expect(period.start).to.equal('2017-01-01');\n+        expect(period.end).to.equal('2017-03-19');\n       });\n-    });\n-    it('should retrieve last_2_quarters', () => {\n-      const period = datetimeUtils.retrievePeriod('last_2_quarters');\n-      expect(period).to.deep.equal({\n-        start: '2016-07-01',\n-        end: '2016-09-30',\n+\n+      // it('should all_time period be [19/03/2014 - 19/03/2017]', () => {\n+      //   const period = datetimeUtils.retrievePeriod('all_time');\n+      //   expect(period.start).to.equal('2014-03-20');\n+      //   expect(period.end).to.equal('2017-03-20');\n+      // });\n+\n+      it('should last_3_days period be [17/03/2017 - 19/03/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_3_days');\n+        expect(period.start).to.equal('2017-03-17');\n+        expect(period.end).to.equal('2017-03-19');\n+        const period2 = datetimeUtils.retrievePeriod('last3days');\n+        expect(period2.start).to.equal('2017-03-17');\n+        expect(period2.end).to.equal('2017-03-19');\n       });\n-    });\n \n-    it('should retrieve last_2_years', () => {\n-      const period = datetimeUtils.retrievePeriod('last_2_years');\n-      expect(period).to.deep.equal({\n-        start: '2015-01-01',\n-        end: '2016-12-31',\n+      it('should last_3_weeks period be [27/02/2017 - 19/03/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_3_weeks');\n+        expect(period.start).to.equal('2017-02-27');\n+        expect(period.end).to.equal('2017-03-19');\n+        const period2 = datetimeUtils.retrievePeriod('last3weeks');\n+        expect(period2.start).to.equal('2017-02-27');\n+        expect(period2.end).to.equal('2017-03-19');\n+      });\n+      it('should last_3_months period be [01/12/2016 - 28/02/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_3_months');\n+        expect(period).to.deep.equal({\n+          start: '2016-12-01',\n+          end: '2017-02-28',\n+        });\n+        const period2 = datetimeUtils.retrievePeriod('last3months');\n+        expect(period2).to.deep.equal({\n+          start: '2016-12-01',\n+          end: '2017-02-28',\n+        });\n       });\n-    });\n \n-    it('should retrieve last_3_days_including_current', () => {\n-      const period = datetimeUtils.retrievePeriod('last_3_days_including_current');\n-      expect(period).to.deep.equal({\n-        start: '2017-03-18',\n-        end: '2017-03-20',\n+      it('should last_2_quarters period be [01/07/2016 - 31/12/2016]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_2_quarters');\n+        expect(period).to.deep.equal({\n+          start: '2016-07-01',\n+          end: '2016-12-31',\n+        });\n       });\n-    });\n \n-    it('should retrieve last_2_weeks_including_current', () => {\n-      const period = datetimeUtils.retrievePeriod('last_2_weeks_including_current');\n-      expect(period).to.deep.equal({\n-        start: '2017-03-13',\n-        end: '2017-03-26',\n+      it('should last_2_years period be [01/01/2015 - 31/12/2016]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_2_years');\n+        expect(period).to.deep.equal({\n+          start: '2015-01-01',\n+          end: '2016-12-31',\n+        });\n       });\n-    });\n \n-    it('should retrieve last_1_quarter_including_current', () => {\n-      const period = datetimeUtils.retrievePeriod('last_1_quarter_including_current');\n-      expect(period).to.deep.equal({\n-        start: '2017-01-01',\n-        end: '2017-03-31',\n+      it('should last_3_days_including_current period be [17/03/2017 - 19/03/2017] (deprecated in favor of last_3_days)', () => {\n+        const period = datetimeUtils.retrievePeriod('last_3_days_including_current');\n+        expect(period.start).to.equal('2017-03-17');\n+        expect(period.end).to.equal('2017-03-19');\n       });\n-    });\n \n-    it('should retrieve last_1_year_including_current', () => {\n-      const period = datetimeUtils.retrievePeriod('last_1_year_including_current');\n-      expect(period).to.deep.equal({\n-        start: '2017-01-01',\n-        end: '2017-12-31',\n+      it('should last_2_weeks_including_current period be [06/03/2017 - 19/03/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_2_weeks_including_current');\n+        expect(period.start).to.equal('2017-03-06');\n+        expect(period.end).to.equal('2017-03-19');\n       });\n-    });\n \n-    afterAll(() => {\n-      clock.restore();\n-    });\n-  });\n+      it('should last_1_quarter_including_current period be [01/01/2017 - 19/03/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_1_quarter_including_current');\n+        expect(period.start).to.equal('2017-01-01');\n+        expect(period.end).to.equal('2017-03-19');\n+      });\n \n-  describe('with utc baseDate to 1st of january 2015, 12:00am', () => {\n-    const january2015 = 1420070400000;\n-    it('should retrieve last_month', () => {\n-      const period = datetimeUtils.retrievePeriod('last_month', january2015);\n-      expect(period.start).to.equal('2014-12-01');\n-      expect(period.end).to.equal('2014-12-31');\n-    });\n+      it('should last_1_year_including_current period be [01/01/2017 - 19/03/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('last_1_year_including_current');\n+        expect(period).to.deep.equal({\n+          start: '2017-01-01',\n+          end: '2017-03-19',\n+        });\n+      });\n \n-    it('should retrieve this_month', () => {\n-      const period = datetimeUtils.retrievePeriod('this_month', january2015);\n-      expect(period.start).to.equal('2015-01-01');\n-      expect(period.end).to.equal('2015-01-01');\n-    });\n+      it('should 2014-01-01_to_yesterday period be [01/01/2014 - 19/03/2017]', () => {\n+        const period = datetimeUtils.retrievePeriod('2014-01-01_to_yesterday');\n+        expect(period).to.eql({\n+          start: '2014-01-01',\n+          end: '2017-03-19',\n+        });\n+      });\n \n-    it('should retrieve this_month', () => {\n-      const period = datetimeUtils.retrievePeriod('this_year', january2015);\n-      expect(period.start).to.equal('2015-01-01');\n-      expect(period.end).to.equal('2015-12-31');\n+      afterAll(() => {\n+        clock.restore();\n+      });\n     });\n \n-    it('should retrieve yesterday', () => {\n-      const period = datetimeUtils.retrievePeriod('yesterday', january2015);\n-      expect(period.start).to.equal('2014-12-31');\n-      expect(period.end).to.equal('2014-12-31');\n-    });\n+    describe('with utc baseDate to 1st of january 2015, 12:00am', () => {","path":"__tests__/retrieve_date__test.js","position":301,"original_position":301,"commit_id":"0b87f4c338fded282a77e6aae5e3a7c8811ad071","original_commit_id":"0b87f4c338fded282a77e6aae5e3a7c8811ad071","user":{"login":"Bertrand31","id":3448510,"node_id":"MDQ6VXNlcjM0NDg1MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/3448510?v=4","gravatar_id":"","url":"https://api.github.com/users/Bertrand31","html_url":"https://github.com/Bertrand31","followers_url":"https://api.github.com/users/Bertrand31/followers","following_url":"https://api.github.com/users/Bertrand31/following{/other_user}","gists_url":"https://api.github.com/users/Bertrand31/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertrand31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertrand31/subscriptions","organizations_url":"https://api.github.com/users/Bertrand31/orgs","repos_url":"https://api.github.com/users/Bertrand31/repos","events_url":"https://api.github.com/users/Bertrand31/events{/privacy}","received_events_url":"https://api.github.com/users/Bertrand31/received_events","type":"User","site_admin":false},"body":"That looks like a job for `context`","created_at":"2018-11-29T07:43:39Z","updated_at":"2018-11-29T07:43:40Z","html_url":"https://github.com/nugit/datetime-utils/pull/7#discussion_r237378923","pull_request_url":"https://api.github.com/repos/nugit/datetime-utils/pulls/7","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/nugit/datetime-utils/pulls/comments/237378923"},"html":{"href":"https://github.com/nugit/datetime-utils/pull/7#discussion_r237378923"},"pull_request":{"href":"https://api.github.com/repos/nugit/datetime-utils/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/nugit/datetime-utils/pulls/7","id":234536362,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NTM2MzYy","html_url":"https://github.com/nugit/datetime-utils/pull/7","diff_url":"https://github.com/nugit/datetime-utils/pull/7.diff","patch_url":"https://github.com/nugit/datetime-utils/pull/7.patch","issue_url":"https://api.github.com/repos/nugit/datetime-utils/issues/7","number":7,"state":"open","locked":false,"title":"Add consistency","user":{"login":"moroine","id":4658821,"node_id":"MDQ6VXNlcjQ2NTg4MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/4658821?v=4","gravatar_id":"","url":"https://api.github.com/users/moroine","html_url":"https://github.com/moroine","followers_url":"https://api.github.com/users/moroine/followers","following_url":"https://api.github.com/users/moroine/following{/other_user}","gists_url":"https://api.github.com/users/moroine/gists{/gist_id}","starred_url":"https://api.github.com/users/moroine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moroine/subscriptions","organizations_url":"https://api.github.com/users/moroine/orgs","repos_url":"https://api.github.com/users/moroine/repos","events_url":"https://api.github.com/users/moroine/events{/privacy}","received_events_url":"https://api.github.com/users/moroine/received_events","type":"User","site_admin":false},"body":"Implement new DateTime period behaviour","created_at":"2018-11-29T07:38:22Z","updated_at":"2018-11-29T07:43:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e031069271a140d5e4828ea41778723eba98e15","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nugit/datetime-utils/pulls/7/commits","review_comments_url":"https://api.github.com/repos/nugit/datetime-utils/pulls/7/comments","review_comment_url":"https://api.github.com/repos/nugit/datetime-utils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nugit/datetime-utils/issues/7/comments","statuses_url":"https://api.github.com/repos/nugit/datetime-utils/statuses/0b87f4c338fded282a77e6aae5e3a7c8811ad071","head":{"label":"nugit:feature/exclude-today","ref":"feature/exclude-today","sha":"0b87f4c338fded282a77e6aae5e3a7c8811ad071","user":{"login":"nugit","id":5014859,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwMTQ4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5014859?v=4","gravatar_id":"","url":"https://api.github.com/users/nugit","html_url":"https://github.com/nugit","followers_url":"https://api.github.com/users/nugit/followers","following_url":"https://api.github.com/users/nugit/following{/other_user}","gists_url":"https://api.github.com/users/nugit/gists{/gist_id}","starred_url":"https://api.github.com/users/nugit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nugit/subscriptions","organizations_url":"https://api.github.com/users/nugit/orgs","repos_url":"https://api.github.com/users/nugit/repos","events_url":"https://api.github.com/users/nugit/events{/privacy}","received_events_url":"https://api.github.com/users/nugit/received_events","type":"Organization","site_admin":false},"repo":{"id":91445034,"node_id":"MDEwOlJlcG9zaXRvcnk5MTQ0NTAzNA==","name":"datetime-utils","full_name":"nugit/datetime-utils","private":false,"owner":{"login":"nugit","id":5014859,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwMTQ4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5014859?v=4","gravatar_id":"","url":"https://api.github.com/users/nugit","html_url":"https://github.com/nugit","followers_url":"https://api.github.com/users/nugit/followers","following_url":"https://api.github.com/users/nugit/following{/other_user}","gists_url":"https://api.github.com/users/nugit/gists{/gist_id}","starred_url":"https://api.github.com/users/nugit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nugit/subscriptions","organizations_url":"https://api.github.com/users/nugit/orgs","repos_url":"https://api.github.com/users/nugit/repos","events_url":"https://api.github.com/users/nugit/events{/privacy}","received_events_url":"https://api.github.com/users/nugit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nugit/datetime-utils","description":"a share lib for multiple nugit projects","fork":false,"url":"https://api.github.com/repos/nugit/datetime-utils","forks_url":"https://api.github.com/repos/nugit/datetime-utils/forks","keys_url":"https://api.github.com/repos/nugit/datetime-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nugit/datetime-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nugit/datetime-utils/teams","hooks_url":"https://api.github.com/repos/nugit/datetime-utils/hooks","issue_events_url":"https://api.github.com/repos/nugit/datetime-utils/issues/events{/number}","events_url":"https://api.github.com/repos/nugit/datetime-utils/events","assignees_url":"https://api.github.com/repos/nugit/datetime-utils/assignees{/user}","branches_url":"https://api.github.com/repos/nugit/datetime-utils/branches{/branch}","tags_url":"https://api.github.com/repos/nugit/datetime-utils/tags","blobs_url":"https://api.github.com/repos/nugit/datetime-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nugit/datetime-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nugit/datetime-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/nugit/datetime-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nugit/datetime-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/nugit/datetime-utils/languages","stargazers_url":"https://api.github.com/repos/nugit/datetime-utils/stargazers","contributors_url":"https://api.github.com/repos/nugit/datetime-utils/contributors","subscribers_url":"https://api.github.com/repos/nugit/datetime-utils/subscribers","subscription_url":"https://api.github.com/repos/nugit/datetime-utils/subscription","commits_url":"https://api.github.com/repos/nugit/datetime-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/nugit/datetime-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/nugit/datetime-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/nugit/datetime-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/nugit/datetime-utils/contents/{+path}","compare_url":"https://api.github.com/repos/nugit/datetime-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nugit/datetime-utils/merges","archive_url":"https://api.github.com/repos/nugit/datetime-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nugit/datetime-utils/downloads","issues_url":"https://api.github.com/repos/nugit/datetime-utils/issues{/number}","pulls_url":"https://api.github.com/repos/nugit/datetime-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/nugit/datetime-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/nugit/datetime-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nugit/datetime-utils/labels{/name}","releases_url":"https://api.github.com/repos/nugit/datetime-utils/releases{/id}","deployments_url":"https://api.github.com/repos/nugit/datetime-utils/deployments","created_at":"2017-05-16T10:17:05Z","updated_at":"2018-11-21T02:13:16Z","pushed_at":"2018-11-29T07:38:23Z","git_url":"git://github.com/nugit/datetime-utils.git","ssh_url":"git@github.com:nugit/datetime-utils.git","clone_url":"https://github.com/nugit/datetime-utils.git","svn_url":"https://github.com/nugit/datetime-utils","homepage":null,"size":456,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nugit:master","ref":"master","sha":"2bc1549855609e82c7c6be5fbff0134e451f7d50","user":{"login":"nugit","id":5014859,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwMTQ4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5014859?v=4","gravatar_id":"","url":"https://api.github.com/users/nugit","html_url":"https://github.com/nugit","followers_url":"https://api.github.com/users/nugit/followers","following_url":"https://api.github.com/users/nugit/following{/other_user}","gists_url":"https://api.github.com/users/nugit/gists{/gist_id}","starred_url":"https://api.github.com/users/nugit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nugit/subscriptions","organizations_url":"https://api.github.com/users/nugit/orgs","repos_url":"https://api.github.com/users/nugit/repos","events_url":"https://api.github.com/users/nugit/events{/privacy}","received_events_url":"https://api.github.com/users/nugit/received_events","type":"Organization","site_admin":false},"repo":{"id":91445034,"node_id":"MDEwOlJlcG9zaXRvcnk5MTQ0NTAzNA==","name":"datetime-utils","full_name":"nugit/datetime-utils","private":false,"owner":{"login":"nugit","id":5014859,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwMTQ4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5014859?v=4","gravatar_id":"","url":"https://api.github.com/users/nugit","html_url":"https://github.com/nugit","followers_url":"https://api.github.com/users/nugit/followers","following_url":"https://api.github.com/users/nugit/following{/other_user}","gists_url":"https://api.github.com/users/nugit/gists{/gist_id}","starred_url":"https://api.github.com/users/nugit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nugit/subscriptions","organizations_url":"https://api.github.com/users/nugit/orgs","repos_url":"https://api.github.com/users/nugit/repos","events_url":"https://api.github.com/users/nugit/events{/privacy}","received_events_url":"https://api.github.com/users/nugit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nugit/datetime-utils","description":"a share lib for multiple nugit projects","fork":false,"url":"https://api.github.com/repos/nugit/datetime-utils","forks_url":"https://api.github.com/repos/nugit/datetime-utils/forks","keys_url":"https://api.github.com/repos/nugit/datetime-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nugit/datetime-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nugit/datetime-utils/teams","hooks_url":"https://api.github.com/repos/nugit/datetime-utils/hooks","issue_events_url":"https://api.github.com/repos/nugit/datetime-utils/issues/events{/number}","events_url":"https://api.github.com/repos/nugit/datetime-utils/events","assignees_url":"https://api.github.com/repos/nugit/datetime-utils/assignees{/user}","branches_url":"https://api.github.com/repos/nugit/datetime-utils/branches{/branch}","tags_url":"https://api.github.com/repos/nugit/datetime-utils/tags","blobs_url":"https://api.github.com/repos/nugit/datetime-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nugit/datetime-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nugit/datetime-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/nugit/datetime-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nugit/datetime-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/nugit/datetime-utils/languages","stargazers_url":"https://api.github.com/repos/nugit/datetime-utils/stargazers","contributors_url":"https://api.github.com/repos/nugit/datetime-utils/contributors","subscribers_url":"https://api.github.com/repos/nugit/datetime-utils/subscribers","subscription_url":"https://api.github.com/repos/nugit/datetime-utils/subscription","commits_url":"https://api.github.com/repos/nugit/datetime-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/nugit/datetime-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/nugit/datetime-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/nugit/datetime-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/nugit/datetime-utils/contents/{+path}","compare_url":"https://api.github.com/repos/nugit/datetime-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nugit/datetime-utils/merges","archive_url":"https://api.github.com/repos/nugit/datetime-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nugit/datetime-utils/downloads","issues_url":"https://api.github.com/repos/nugit/datetime-utils/issues{/number}","pulls_url":"https://api.github.com/repos/nugit/datetime-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/nugit/datetime-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/nugit/datetime-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nugit/datetime-utils/labels{/name}","releases_url":"https://api.github.com/repos/nugit/datetime-utils/releases{/id}","deployments_url":"https://api.github.com/repos/nugit/datetime-utils/deployments","created_at":"2017-05-16T10:17:05Z","updated_at":"2018-11-21T02:13:16Z","pushed_at":"2018-11-29T07:38:23Z","git_url":"git://github.com/nugit/datetime-utils.git","ssh_url":"git@github.com:nugit/datetime-utils.git","clone_url":"https://github.com/nugit/datetime-utils.git","svn_url":"https://github.com/nugit/datetime-utils","homepage":null,"size":456,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nugit/datetime-utils/pulls/7"},"html":{"href":"https://github.com/nugit/datetime-utils/pull/7"},"issue":{"href":"https://api.github.com/repos/nugit/datetime-utils/issues/7"},"comments":{"href":"https://api.github.com/repos/nugit/datetime-utils/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/nugit/datetime-utils/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/nugit/datetime-utils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nugit/datetime-utils/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/nugit/datetime-utils/statuses/0b87f4c338fded282a77e6aae5e3a7c8811ad071"}},"author_association":"NONE"}}
{"actor":{"display_login":"Bertrand31"}}