Hi

 Following is my code

>> fd = Feeddetail.find(1)

>> fd.created_at
=> Thu Dec 04 07:11:55 UTC 2008

>> Feeddetail.search_count :with=>{:created_at=>fd.created_at - 5.hours - 
>> 30.minutes..Time.now}
 Ans => 7

>> Feeddetail.search_count :conditions=>{:created_at=>fd.created_at..Time.now}
Ans => 0

In my all tables I am saving date as per UTC time zone. Is there any
way to set configuration to UTC.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to