-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
I've added include Mongoid::Timestamps::Created to a document model, and when I create the document and run a basic query like User.first the created_at time is ahead by 8 hours. It looks like its the UTC time.
But when I run the individual field User.first.created_at it gives me the correct time.
I also went into the mongo shell and used Date() and Time and it gave me the correct time. Is there something I'm missing? Thanks!