Re: [Rails] created_at, updated_at and MSSQL

2010-12-13 Thread Colin Law
On 13 December 2010 21:54, pepe  wrote:
> Hello,
>
> I am running into a little issue. There is a considerable time
> difference between the time that the console is giving me and the time
> I am seeing in the created_at and updated_at column in the DB. The
> difference is about 5 hours.
>
> I don't think the problem is in the DB, but I could be wrong.

The value in the db should be UTC, so may be correct, dependent on
where you are.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Rails] created_at, updated_at and MSSQL

2010-12-13 Thread pepe
Hello,

Sorry if this is a double post. I think I did something wrong with the
original one.

I am running into a little problem with the fields mentioned above.
The difference between what Rails is saving in the DB and what I can
see in the console is of about 5 hours.

Am I missing something obvious? Anybody has a clue about what might be
going on?

Thank you.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Rails] created_at, updated_at and MSSQL

2010-12-13 Thread pepe
Hello,

I am running into a little issue. There is a considerable time
difference between the time that the console is giving me and the time
I am seeing in the created_at and updated_at column in the DB. The
difference is about 5 hours.

I don't think the problem is in the DB, but I could be wrong.

Am I missing something obvious? Any clues?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.