{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment/issues/4308","repository_url":"https://api.github.com/repos/moment/moment","labels_url":"https://api.github.com/repos/moment/moment/issues/4308/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment/issues/4308/comments","events_url":"https://api.github.com/repos/moment/moment/issues/4308/events","html_url":"https://github.com/moment/moment/issues/4308","id":274517592,"number":4308,"title":"add() method returns strange result","user":{"login":"crafter999","id":27963519,"avatar_url":"https://avatars0.githubusercontent.com/u/27963519?v=4","gravatar_id":"","url":"https://api.github.com/users/crafter999","html_url":"https://github.com/crafter999","followers_url":"https://api.github.com/users/crafter999/followers","following_url":"https://api.github.com/users/crafter999/following{/other_user}","gists_url":"https://api.github.com/users/crafter999/gists{/gist_id}","starred_url":"https://api.github.com/users/crafter999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crafter999/subscriptions","organizations_url":"https://api.github.com/users/crafter999/orgs","repos_url":"https://api.github.com/users/crafter999/repos","events_url":"https://api.github.com/users/crafter999/events{/privacy}","received_events_url":"https://api.github.com/users/crafter999/received_events","type":"User","site_admin":false},"labels":[{"id":39331845,"url":"https://api.github.com/repos/moment/moment/labels/Troubleshooting","name":"Troubleshooting","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-16T13:35:12Z","updated_at":"2017-12-20T03:14:18Z","closed_at":"2017-12-20T03:14:18Z","author_association":"NONE","body":"Tried the following code on the latest Chrome/Firefox browser but there's no actual time update, the date is still the same. I'm using this moment lib: https://cdn.jsdelivr.net/npm/moment@2.19.2/moment.min.js. **Works fine** on my Node.js 9.x.x using the default version of moment. grabbed from the npm package manager.\r\n\r\n```\r\nvar timer = new moment(\"2017-11-15 00:00:00\")\r\ntimer.add(10, \"seconds\")\r\n// returns: 2017-11-15 00:00:00\r\n```\r\n\r\nP.S.\r\nBrowser run: moment.min.js  2.19.2\r\nNode.js run: default 2.19.2"},"comment":{"url":"https://api.github.com/repos/moment/moment/issues/comments/352953132","html_url":"https://github.com/moment/moment/issues/4308#issuecomment-352953132","issue_url":"https://api.github.com/repos/moment/moment/issues/4308","id":352953132,"user":{"login":"marwahaha","id":2541209,"avatar_url":"https://avatars0.githubusercontent.com/u/2541209?v=4","gravatar_id":"","url":"https://api.github.com/users/marwahaha","html_url":"https://github.com/marwahaha","followers_url":"https://api.github.com/users/marwahaha/followers","following_url":"https://api.github.com/users/marwahaha/following{/other_user}","gists_url":"https://api.github.com/users/marwahaha/gists{/gist_id}","starred_url":"https://api.github.com/users/marwahaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marwahaha/subscriptions","organizations_url":"https://api.github.com/users/marwahaha/orgs","repos_url":"https://api.github.com/users/marwahaha/repos","events_url":"https://api.github.com/users/marwahaha/events{/privacy}","received_events_url":"https://api.github.com/users/marwahaha/received_events","type":"User","site_admin":false},"created_at":"2017-12-20T03:14:18Z","updated_at":"2017-12-20T03:14:18Z","author_association":"OWNER","body":"@crafter999 - to format Moment objects, you can use the API available here: https://momentjs.com/docs/#/displaying/format/ .\r\n\r\nPlease reopen if you have further issues."}}
{"actor":{"display_login":"marwahaha"}}