{"action":"created","issue":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/3044","repository_url":"https://api.github.com/repos/keystonejs/keystone","labels_url":"https://api.github.com/repos/keystonejs/keystone/issues/3044/labels{/name}","comments_url":"https://api.github.com/repos/keystonejs/keystone/issues/3044/comments","events_url":"https://api.github.com/repos/keystonejs/keystone/issues/3044/events","html_url":"https://github.com/keystonejs/keystone/issues/3044","id":160531921,"number":3044,"title":"Timestamps appear differently in Admin UI","user":{"login":"ddaddy","id":1425808,"avatar_url":"https://avatars.githubusercontent.com/u/1425808?v=3","gravatar_id":"","url":"https://api.github.com/users/ddaddy","html_url":"https://github.com/ddaddy","followers_url":"https://api.github.com/users/ddaddy/followers","following_url":"https://api.github.com/users/ddaddy/following{/other_user}","gists_url":"https://api.github.com/users/ddaddy/gists{/gist_id}","starred_url":"https://api.github.com/users/ddaddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddaddy/subscriptions","organizations_url":"https://api.github.com/users/ddaddy/orgs","repos_url":"https://api.github.com/users/ddaddy/repos","events_url":"https://api.github.com/users/ddaddy/events{/privacy}","received_events_url":"https://api.github.com/users/ddaddy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/keystonejs/keystone/labels/bug","name":"bug","color":"eb3d31"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-15T21:48:22Z","updated_at":"2016-06-26T11:31:03Z","closed_at":null,"body":"I have a user field set to DateTime like this\r\n`createdAt: { type: Types.Datetime, default: Date.now },`\r\n\r\nand when viewed in the admin User list a record appears like this:\r\n<img width=\"204\" alt=\"screen shot 2016-06-15 at 22 43 45\" src=\"https://cloud.githubusercontent.com/assets/1425808/16098475/0ed663ce-334b-11e6-8172-b3642600cc7b.png\">\r\n\r\nyet when I click the user, it shows a different time like this:\r\n<img width=\"621\" alt=\"screen shot 2016-06-15 at 22 43 58\" src=\"https://cloud.githubusercontent.com/assets/1425808/16098483/18ae622a-334b-11e6-910a-915dcd8f2b10.png\">\r\n\r\nThe actual timestamp in the db is:\r\n`\"createdAt\" : ISODate(\"2016-06-15T23:26:32Z\"),`"},"comment":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/comments/228596729","html_url":"https://github.com/keystonejs/keystone/issues/3044#issuecomment-228596729","issue_url":"https://api.github.com/repos/keystonejs/keystone/issues/3044","id":228596729,"user":{"login":"JedWatson","id":872310,"avatar_url":"https://avatars.githubusercontent.com/u/872310?v=3","gravatar_id":"","url":"https://api.github.com/users/JedWatson","html_url":"https://github.com/JedWatson","followers_url":"https://api.github.com/users/JedWatson/followers","following_url":"https://api.github.com/users/JedWatson/following{/other_user}","gists_url":"https://api.github.com/users/JedWatson/gists{/gist_id}","starred_url":"https://api.github.com/users/JedWatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JedWatson/subscriptions","organizations_url":"https://api.github.com/users/JedWatson/orgs","repos_url":"https://api.github.com/users/JedWatson/repos","events_url":"https://api.github.com/users/JedWatson/events{/privacy}","received_events_url":"https://api.github.com/users/JedWatson/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T11:31:03Z","updated_at":"2016-06-26T11:31:03Z","body":"I _swear_ we've fixed this one before. Really need to work out how to set up some unit tests that test for the server and client being in different timezones, I suspect this came back with a PR or something. It's _way_ to easy to miss for such a critical bug.\r\n\r\n@mxstbr no input other than that we need to get on this and patch 0.3 with a fix"}}
{"actor":{"display_login":"JedWatson"}}