{"issue":{"title":"Allow proper timezone offset handling in date filters","user":{"login":"gabrielfalcao","id":54914,"url":"https://api.github.com/users/gabrielfalcao","avatar_url":"https://secure.gravatar.com/avatar/3fa0df5c54f5ac0f8652d992d7d24039?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3fa0df5c54f5ac0f8652d992d7d24039"},"created_at":"2011-12-26T05:03:27Z","milestone":{"open_issues":2,"title":"1.0.0","created_at":"2011-09-26T23:47:30Z","creator":{"login":"paularmstrong","id":33297,"url":"https://api.github.com/users/paularmstrong","avatar_url":"https://secure.gravatar.com/avatar/e1644eab1be15e0e775e0d8186300f72?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e1644eab1be15e0e775e0d8186300f72"},"state":"open","due_on":null,"closed_issues":2,"number":1,"description":"Mass production-ready, scalable, usable, fast, and easy to use.","url":"https://api.github.com/repos/paularmstrong/swig/milestones/1"},"labels":[{"name":"Feature","url":"https://api.github.com/repos/paularmstrong/swig/labels/Feature","color":"02e10c"}],"state":"open","updated_at":"2011-12-27T19:32:49Z","id":2656773,"closed_at":null,"html_url":"https://github.com/paularmstrong/swig/issues/27","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Currently, the tests are hardcoded to Pacific timezone. They should be able to be set to whatever timezone you want (server and client-side)\r\n\r\n```bash\r\n\r\n\u001B[1mfilters.test.js\u001B[22m\r\n\u001B[31m✖ date\u001B[39m\r\n\r\nAssertionError: '628' === '712'\r\n    at Object.strictEqual (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/types.js:83:39)\r\n    at testFilter (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:7:10)\r\n    at testFormat (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:40:9)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:75:5)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16\r\n    at Object.runTest (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:69:9)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:115:25\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:508:13\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:118:13\r\n\r\nAssertionError: '+0500' === '+0700'\r\n    at Object.strictEqual (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/types.js:83:39)\r\n    at testFilter (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:7:10)\r\n    at testFormat (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:40:9)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:86:5)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16\r\n    at Object.runTest (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:69:9)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:115:25\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:508:13\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:118:13\r\n\r\nAssertionError: '18000' === '25200'\r\n    at Object.strictEqual (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/types.js:83:39)\r\n    at testFilter (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:7:10)\r\n    at testFormat (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:40:9)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:87:5)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16\r\n    at Object.runTest (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:69:9)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:115:25\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:508:13\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:118:13\r\n\r\nAssertionError: '2011-09-06T14:05:02.000Z' === '2011-09-06T16:05:02.000Z'\r\n    at Object.strictEqual (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/types.js:83:39)\r\n    at testFilter (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:7:10)\r\n    at testFormat (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:40:9)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:90:5)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16\r\n    at Object.runTest (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:69:9)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:115:25\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:508:13\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:118:13\r\n\r\nAssertionError: 'Tue Sep 06 2011 09:05:02 GMT-0500 (EST)' === 'Tue Sep 06 2011 09:05:02 GMT-0700 (PDT)'\r\n    at Object.strictEqual (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/types.js:83:39)\r\n    at testFilter (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:7:10)\r\n    at testFormat (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:40:9)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:91:5)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16\r\n    at Object.runTest (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:69:9)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:115:25\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:508:13\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:118:13\r\n\r\nAssertionError: '1315317902' === '1315325102'\r\n    at Object.strictEqual (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/types.js:83:39)\r\n    at testFilter (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:7:10)\r\n    at testFormat (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:40:9)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/tests/filters.test.js:92:5)\r\n    at Object.<anonymous> (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:233:16\r\n    at Object.runTest (/Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:69:9)\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/lib/core.js:115:25\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:508:13\r\n    at /Users/gabrielfalcao/Dropbox/projects/personal/swig/node_modules/nodeunit/deps/async.js:118:13\r\n\r\n\u001B[1m\u001B[31mFAILURES: \u001B[39m\u001B[22m9/295 assertions failed (374ms)\r\nmake: *** [test] Error 1\r\n```","number":27,"url":"https://api.github.com/repos/paularmstrong/swig/issues/27","comments":5,"assignee":null},"comment":{"user":{"login":"paularmstrong","id":33297,"url":"https://api.github.com/users/paularmstrong","avatar_url":"https://secure.gravatar.com/avatar/e1644eab1be15e0e775e0d8186300f72?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e1644eab1be15e0e775e0d8186300f72"},"created_at":"2011-12-27T19:32:49Z","updated_at":"2011-12-27T19:32:49Z","id":3284441,"body":"Updated issue and set for milestone 1.0.0","url":"https://api.github.com/repos/paularmstrong/swig/issues/comments/3284441"},"action":"created"}