{"action":"opened","issue":{"url":"https://api.github.com/repos/CommuteCompanion/etsn05-project/issues/98","repository_url":"https://api.github.com/repos/CommuteCompanion/etsn05-project","labels_url":"https://api.github.com/repos/CommuteCompanion/etsn05-project/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/CommuteCompanion/etsn05-project/issues/98/comments","events_url":"https://api.github.com/repos/CommuteCompanion/etsn05-project/issues/98/events","html_url":"https://github.com/CommuteCompanion/etsn05-project/issues/98","id":367832863,"node_id":"MDU6SXNzdWUzNjc4MzI4NjM=","number":98,"title":"Sending dates between Front-End and Back-end","user":{"login":"MathiasKindberg","id":10866610,"node_id":"MDQ6VXNlcjEwODY2NjEw","avatar_url":"https://avatars1.githubusercontent.com/u/10866610?v=4","gravatar_id":"","url":"https://api.github.com/users/MathiasKindberg","html_url":"https://github.com/MathiasKindberg","followers_url":"https://api.github.com/users/MathiasKindberg/followers","following_url":"https://api.github.com/users/MathiasKindberg/following{/other_user}","gists_url":"https://api.github.com/users/MathiasKindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/MathiasKindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathiasKindberg/subscriptions","organizations_url":"https://api.github.com/users/MathiasKindberg/orgs","repos_url":"https://api.github.com/users/MathiasKindberg/repos","events_url":"https://api.github.com/users/MathiasKindberg/events{/privacy}","received_events_url":"https://api.github.com/users/MathiasKindberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-08T15:03:53Z","updated_at":"2018-10-08T15:03:53Z","closed_at":null,"author_association":"COLLABORATOR","body":"Trying to create the dateOfBirth object in the user class there are problems with getting JS and Java dates to work together.\r\n\r\n`const dateOfBirth = new Date('December 17, 1995 03:24:00');\" `\r\nGer: `java.text.ParseException: Unparseable date: \"1995-12-17T02:24:00.000Z\"`\r\n\r\n`const dateOfBirth = Date.now(); `\r\nGer: `java.text.ParseException: Unparseable date: \"1539009306030\"`\r\n\r\nOch slutligen \r\n`const dateOfBirth = new Date('December 17, 1995 03:24:00').toUTCString();`\r\nGer: `java.text.ParseException: Unparseable date: \"Sun, 17 Dec 1995 02:24:00 GMT\"`\r\n\r\nJon found this link regarding the issue:\r\nhttps://stackoverflow.com/questions/43373270/jackson-deserialize-json-with-timestamp-field/43373468"}}
{"actor":{"display_login":"MathiasKindberg"}}