{"action":"created","issue":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1061","repository_url":"https://api.github.com/repos/ualbertalib/HydraNorth","labels_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1061/labels{/name}","comments_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1061/comments","events_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1061/events","html_url":"https://github.com/ualbertalib/HydraNorth/issues/1061","id":149835879,"number":1061,"title":"date_modified used the wrong datetime value/zone when record is modified","user":{"login":"weiweishi","id":2047614,"avatar_url":"https://avatars.githubusercontent.com/u/2047614?v=3","gravatar_id":"","url":"https://api.github.com/users/weiweishi","html_url":"https://github.com/weiweishi","followers_url":"https://api.github.com/users/weiweishi/followers","following_url":"https://api.github.com/users/weiweishi/following{/other_user}","gists_url":"https://api.github.com/users/weiweishi/gists{/gist_id}","starred_url":"https://api.github.com/users/weiweishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiweishi/subscriptions","organizations_url":"https://api.github.com/users/weiweishi/orgs","repos_url":"https://api.github.com/users/weiweishi/repos","events_url":"https://api.github.com/users/weiweishi/events{/privacy}","received_events_url":"https://api.github.com/users/weiweishi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/labels/priority:high","name":"priority:high","color":"f7c6c7"},{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/labels/size:xsmall","name":"size:xsmall","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/milestones/40","html_url":"https://github.com/ualbertalib/HydraNorth/milestones/Block:%20Institutional%20Repository","labels_url":"https://api.github.com/repos/ualbertalib/HydraNorth/milestones/40/labels","id":1488251,"number":40,"title":"Block: Institutional Repository","description":"This milestone contains any work that need to serve the IR functionality of DAMS","creator":{"login":"weiweishi","id":2047614,"avatar_url":"https://avatars.githubusercontent.com/u/2047614?v=3","gravatar_id":"","url":"https://api.github.com/users/weiweishi","html_url":"https://github.com/weiweishi","followers_url":"https://api.github.com/users/weiweishi/followers","following_url":"https://api.github.com/users/weiweishi/following{/other_user}","gists_url":"https://api.github.com/users/weiweishi/gists{/gist_id}","starred_url":"https://api.github.com/users/weiweishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiweishi/subscriptions","organizations_url":"https://api.github.com/users/weiweishi/orgs","repos_url":"https://api.github.com/users/weiweishi/repos","events_url":"https://api.github.com/users/weiweishi/events{/privacy}","received_events_url":"https://api.github.com/users/weiweishi/received_events","type":"User","site_admin":false},"open_issues":79,"closed_issues":30,"state":"open","created_at":"2016-01-06T20:16:47Z","updated_at":"2016-05-06T21:25:09Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-04-20T17:34:44Z","updated_at":"2016-05-06T22:18:23Z","closed_at":null,"body":"@pbinkley has noticed that when a record is updated, the date_modified date is set incorrect, with current MST but set in UTC timezone. \r\n\r\neg: an object updated on 11:01 MST shows date_modified as: Wed, 20 Apr 2016 11:01:30 +0000\r\n\r\nFurther investigation discovered that this is a bug in older version of Sufia:\r\nhttps://github.com/projecthydra/sufia/blob/v6.2.0/app/controllers/concerns/sufia/batch_edits_controller_behavior.rb#L51\r\n\r\nIt uses Time.now instead of Time.current or Time.zone.now to get the time. \r\n\r\nThis will affect OAI harvesting. "},"comment":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/comments/217577352","html_url":"https://github.com/ualbertalib/HydraNorth/issues/1061#issuecomment-217577352","issue_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1061","id":217577352,"user":{"login":"anayram","id":879749,"avatar_url":"https://avatars.githubusercontent.com/u/879749?v=3","gravatar_id":"","url":"https://api.github.com/users/anayram","html_url":"https://github.com/anayram","followers_url":"https://api.github.com/users/anayram/followers","following_url":"https://api.github.com/users/anayram/following{/other_user}","gists_url":"https://api.github.com/users/anayram/gists{/gist_id}","starred_url":"https://api.github.com/users/anayram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anayram/subscriptions","organizations_url":"https://api.github.com/users/anayram/orgs","repos_url":"https://api.github.com/users/anayram/repos","events_url":"https://api.github.com/users/anayram/events{/privacy}","received_events_url":"https://api.github.com/users/anayram/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T22:18:23Z","updated_at":"2016-05-06T22:18:23Z","body":"Great, yes, dcterms:modified should then be mapped for OAI datestamp, I'll add this info to the relevant ticket #820"}}