datetime values should be converted to ActiveRecord::Base.default_timezone when 
saved
-------------------------------------------------------------------------------------

                 Key: JRUBY-3642
                 URL: http://jira.codehaus.org/browse/JRUBY-3642
             Project: JRuby
          Issue Type: Bug
          Components: ActiveRecord-JDBC
    Affects Versions: ActiveRecord-JDBC-0.9
         Environment: JRuby 1.2.0
activemessaging (0.5.0)
activerecord (2.3.2)
activerecord-jdbc-adapter (0.9)
activesupport (2.3.2)
daemons (1.0.10)
diff-lcs (1.1.2)
duration (0.1.0)
facets (2.5.1)
jdbc-derby (10.4.2.0)
jruby-openssl (0.4)
log4r (1.0.5)
macaddr (1.0.0)
mocha (0.9.5)
rake (0.8.4)
rcov (0.8.1.5.1)
rspec (1.2.0)
sources (0.0.1)
stomp (1.0.6)
syntax (1.0.0)
wirble (0.1.2)

            Reporter: Uwe Kubosch


When saving datetime attributes on an ActiveRecord, they should be converted to 
ActiveRecord::Base.default_timezone, in our case :utc

This happens with the automatically set "updated_at" but not with the values we 
set ourselves.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to