Time handling improved to ensure UTC always used

This commit is contained in:
Sam Lown 2011-04-01 19:45:13 +02:00
parent 3a3fc3c41d
commit 38257f4909
9 changed files with 662 additions and 536 deletions

View file

@ -1,9 +0,0 @@
# This file contains various hacks for Rails compatibility.
class Hash
# Hack so that CouchRest::Document, which descends from Hash,
# doesn't appear to Rails routing as a Hash of options
def self.===(other)
return false if self == Hash && other.is_a?(CouchRest::Document)
super
end
end