{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/waterline/issues/998","labels_url":"https://api.github.com/repos/balderdashy/waterline/issues/998/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/waterline/issues/998/comments","events_url":"https://api.github.com/repos/balderdashy/waterline/issues/998/events","html_url":"https://github.com/balderdashy/waterline/issues/998","id":74886931,"number":998,"title":"Date tranforme problem","user":{"login":"fundon","id":27926,"avatar_url":"https://avatars.githubusercontent.com/u/27926?v=3","gravatar_id":"","url":"https://api.github.com/users/fundon","html_url":"https://github.com/fundon","followers_url":"https://api.github.com/users/fundon/followers","following_url":"https://api.github.com/users/fundon/following{/other_user}","gists_url":"https://api.github.com/users/fundon/gists{/gist_id}","starred_url":"https://api.github.com/users/fundon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fundon/subscriptions","organizations_url":"https://api.github.com/users/fundon/orgs","repos_url":"https://api.github.com/users/fundon/repos","events_url":"https://api.github.com/users/fundon/events{/privacy}","received_events_url":"https://api.github.com/users/fundon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/balderdashy/waterline/labels/question","name":"question","color":"9a56f5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-10T10:22:31Z","updated_at":"2015-05-10T15:42:24Z","closed_at":null,"body":"I use PostgreSQL Database and set the `created_at` `updated_at` fields to `timestamp without time zone`(UTC by default).\r\n\r\nMy questions:\r\n\r\n0. How to get raw row data?\r\n\r\n0. How to disable `new Date(created_at)` or use `new Date(created_at + '+00:00')` ?"},"comment":{"url":"https://api.github.com/repos/balderdashy/waterline/issues/comments/100658028","html_url":"https://github.com/balderdashy/waterline/issues/998#issuecomment-100658028","issue_url":"https://api.github.com/repos/balderdashy/waterline/issues/998","id":100658028,"user":{"login":"dmarcelino","id":1280446,"avatar_url":"https://avatars.githubusercontent.com/u/1280446?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarcelino","html_url":"https://github.com/dmarcelino","followers_url":"https://api.github.com/users/dmarcelino/followers","following_url":"https://api.github.com/users/dmarcelino/following{/other_user}","gists_url":"https://api.github.com/users/dmarcelino/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarcelino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarcelino/subscriptions","organizations_url":"https://api.github.com/users/dmarcelino/orgs","repos_url":"https://api.github.com/users/dmarcelino/repos","events_url":"https://api.github.com/users/dmarcelino/events{/privacy}","received_events_url":"https://api.github.com/users/dmarcelino/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T15:42:24Z","updated_at":"2015-05-10T15:42:24Z","body":"I think you're experiencing the issue described in balderdashy/sails-postgresql#153, namely https://github.com/balderdashy/sails-postgresql/issues/153#issuecomment-94753436:\r\n> Currently, we insert as UTC for postgres and fetch as local timezone for all. MySQL also inserts for local timezone. This causes bugs.\r\n\r\nPlease take a look, it may be worth to continue the discussion there instead."}}