I have such trouble: when I\'m creating object and setting some datetime It is saving database in UTC TimeZone. Here is example:
//showing full list of objec
You can change the timezone of your application so that ruby's date object will auto configure the dates. MongoDB will always store time in UTC.
MongoDB has no internal knowledge of timezones.