Have a look at
http://groups.google.com/group/thinking-sphinx/browse_thread/thread/f1abba4052a5d4e0/1e1bca4791d4acb0#msg_8080fa6d291a5bd8
On Thu, Dec 4, 2008 at 4:52 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---