{"action":"created","issue":{"url":"https://api.github.com/repos/taskadapter/redmine-java-api/issues/175","labels_url":"https://api.github.com/repos/taskadapter/redmine-java-api/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/taskadapter/redmine-java-api/issues/175/comments","events_url":"https://api.github.com/repos/taskadapter/redmine-java-api/issues/175/events","html_url":"https://github.com/taskadapter/redmine-java-api/pull/175","id":59285926,"number":175,"title":"Enhance dateparsing to support full xsd:datetime/xsd:date and accommodat...","user":{"login":"matthiasblaesing","id":2179736,"avatar_url":"https://avatars.githubusercontent.com/u/2179736?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiasblaesing","html_url":"https://github.com/matthiasblaesing","followers_url":"https://api.github.com/users/matthiasblaesing/followers","following_url":"https://api.github.com/users/matthiasblaesing/following{/other_user}","gists_url":"https://api.github.com/users/matthiasblaesing/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasblaesing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasblaesing/subscriptions","organizations_url":"https://api.github.com/users/matthiasblaesing/orgs","repos_url":"https://api.github.com/users/matthiasblaesing/repos","events_url":"https://api.github.com/users/matthiasblaesing/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasblaesing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/taskadapter/redmine-java-api/milestones/21","html_url":"https://github.com/taskadapter/redmine-java-api/milestones/2.1.1","labels_url":"https://api.github.com/repos/taskadapter/redmine-java-api/milestones/21/labels","id":969559,"number":21,"title":"2.1.1","description":null,"creator":{"login":"alexeyOnGitHub","id":239741,"avatar_url":"https://avatars.githubusercontent.com/u/239741?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeyOnGitHub","html_url":"https://github.com/alexeyOnGitHub","followers_url":"https://api.github.com/users/alexeyOnGitHub/followers","following_url":"https://api.github.com/users/alexeyOnGitHub/following{/other_user}","gists_url":"https://api.github.com/users/alexeyOnGitHub/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeyOnGitHub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeyOnGitHub/subscriptions","organizations_url":"https://api.github.com/users/alexeyOnGitHub/orgs","repos_url":"https://api.github.com/users/alexeyOnGitHub/repos","events_url":"https://api.github.com/users/alexeyOnGitHub/events{/privacy}","received_events_url":"https://api.github.com/users/alexeyOnGitHub/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-02-07T00:56:39Z","updated_at":"2015-02-28T08:27:30Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-02-27T19:57:29Z","updated_at":"2015-02-28T20:10:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/taskadapter/redmine-java-api/pulls/175","html_url":"https://github.com/taskadapter/redmine-java-api/pull/175","diff_url":"https://github.com/taskadapter/redmine-java-api/pull/175.diff","patch_url":"https://github.com/taskadapter/redmine-java-api/pull/175.patch"},"body":"...e to changes in redmine 3.0.0\r\n\r\nIt looks as if redmine once again changed the dateformat. Both (old and new) are valid xsd:datetimes, the new one just contains fractional parts of seconds.\r\n\r\nFrom redmine 2.6.0: `\"updated_on\":\"2015-01-23T00:15:24Z\"`\r\nFrom redmine 3.0.0: `\"updated_on\":\"2015-01-29T10:06:19.000Z\"`\r\n\r\nThe fractional part is optional - while going over this I found this: http://www.redmine.org/issues/7394 and the mentioning of XML datetime is sensible. This lead me to JAXB, datetime parsing for standard format is a done job.\r\n\r\nSo I implemented a method, that tries the standard format and also supports the old non-standard formats.\r\n\r\nSee discussion here: https://github.com/redminenb/redminenb/issues/27\r\n\r\nTo be fair I'm not sure whether this is redmine 2.6 vs. redmine 3.0 or some rails difference, but I don't think it does not matter.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/taskadapter/redmine-java-api/issues/comments/76543527","html_url":"https://github.com/taskadapter/redmine-java-api/pull/175#issuecomment-76543527","issue_url":"https://api.github.com/repos/taskadapter/redmine-java-api/issues/175","id":76543527,"user":{"login":"matthiasblaesing","id":2179736,"avatar_url":"https://avatars.githubusercontent.com/u/2179736?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiasblaesing","html_url":"https://github.com/matthiasblaesing","followers_url":"https://api.github.com/users/matthiasblaesing/followers","following_url":"https://api.github.com/users/matthiasblaesing/following{/other_user}","gists_url":"https://api.github.com/users/matthiasblaesing/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasblaesing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasblaesing/subscriptions","organizations_url":"https://api.github.com/users/matthiasblaesing/orgs","repos_url":"https://api.github.com/users/matthiasblaesing/repos","events_url":"https://api.github.com/users/matthiasblaesing/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasblaesing/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T20:10:03Z","updated_at":"2015-02-28T20:10:03Z","body":"From the bug report it gets clear, that it can't be redmine 3.0 alone. I checked with the bitnami stack (installed in a debian base vm for 2.6.0 and 3.0.0):\r\n\r\nhttps://bitnami.com/stack/redmine\r\n\r\nThey also offer VMWare Images."}}