{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-data-neo4j/issues/314","labels_url":"https://api.github.com/repos/spring-projects/spring-data-neo4j/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-data-neo4j/issues/314/comments","events_url":"https://api.github.com/repos/spring-projects/spring-data-neo4j/issues/314/events","html_url":"https://github.com/spring-projects/spring-data-neo4j/issues/314","id":114685612,"number":314,"title":"Date migration from SDN 3.4","user":{"login":"nayish","id":586482,"avatar_url":"https://avatars.githubusercontent.com/u/586482?v=3","gravatar_id":"","url":"https://api.github.com/users/nayish","html_url":"https://github.com/nayish","followers_url":"https://api.github.com/users/nayish/followers","following_url":"https://api.github.com/users/nayish/following{/other_user}","gists_url":"https://api.github.com/users/nayish/gists{/gist_id}","starred_url":"https://api.github.com/users/nayish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nayish/subscriptions","organizations_url":"https://api.github.com/users/nayish/orgs","repos_url":"https://api.github.com/users/nayish/repos","events_url":"https://api.github.com/users/nayish/events{/privacy}","received_events_url":"https://api.github.com/users/nayish/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-02T21:17:04Z","updated_at":"2015-11-03T07:45:40Z","closed_at":"2015-11-03T07:45:39Z","body":"In SDN 3.4 Date were saved to the db as Strings consisting of the number of miiseconds since 1970. In SDN 4.0 the String needs to by default contain a string representing the date in a format of \"YYYY-MM-dd....\" In the migration guide there is no mention of this change.\r\n\r\nIn addition using the @DateLong annotation which should correlate to the previous use throws an error since dates are saved in the DB as Strings and not numbers. after performing \"SET a.dateField = toInt(a.dateField)\" on all my dateFields this is solved.\r\n\r\nThis should either be added to the migration guide or perhaps fixed."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-data-neo4j/issues/comments/153281211","html_url":"https://github.com/spring-projects/spring-data-neo4j/issues/314#issuecomment-153281211","issue_url":"https://api.github.com/repos/spring-projects/spring-data-neo4j/issues/314","id":153281211,"user":{"login":"luanne","id":1242476,"avatar_url":"https://avatars.githubusercontent.com/u/1242476?v=3","gravatar_id":"","url":"https://api.github.com/users/luanne","html_url":"https://github.com/luanne","followers_url":"https://api.github.com/users/luanne/followers","following_url":"https://api.github.com/users/luanne/following{/other_user}","gists_url":"https://api.github.com/users/luanne/gists{/gist_id}","starred_url":"https://api.github.com/users/luanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luanne/subscriptions","organizations_url":"https://api.github.com/users/luanne/orgs","repos_url":"https://api.github.com/users/luanne/repos","events_url":"https://api.github.com/users/luanne/events{/privacy}","received_events_url":"https://api.github.com/users/luanne/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T07:45:39Z","updated_at":"2015-11-03T07:45:39Z","body":"Thanks for reporting this, docs updated. See https://jira.spring.io/browse/DATAGRAPH-765"}}