diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 00:23:05 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 00:23:05 +0000 |
commit | a17fcac8226473feb0f248c54ba2a829dd5bcd54 (patch) | |
tree | a34ac80fd6f6232efdcea39f165620f90f16c369 /vendor/gems/coderay-0.9.7/lib/coderay/encoders/debug.rb | |
parent | 41a6c8be6529b7ff9cd32706cee942003811f5e5 (diff) | |
download | redmine-a17fcac8226473feb0f248c54ba2a829dd5bcd54.tar.gz redmine-a17fcac8226473feb0f248c54ba2a829dd5bcd54.zip |
Rails3: model: query: parse dates using UTC (ruby 1.9 inside) (#4796)
On Rails 3.0 and Ruby 1.8.7 in Japan (UTC+9), tests fails with following messages.
test_operator_date_equals(QueryTest) [test/unit/query_test.rb:206]:
<"(issues.due_date > '2011-07-09 14:59:59.999999' AND issues.due_date <= '2011-07-10 14:59:59.999999')
AND (issue_statuses.is_closed='f')"> expected to be =~
</issues\.due_date > '2011-07-09 23:59:59(\.9+)?' AND issues\.due_date <= '2011-07-10 23:59:59(\.9+)?/>.
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7591 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor/gems/coderay-0.9.7/lib/coderay/encoders/debug.rb')
0 files changed, 0 insertions, 0 deletions