#5 ✓resolved
Georg Ledermann

Conditions for date/time columns

Reported by Georg Ledermann | September 30th, 2008 @ 07:48 AM

Something like this would be very helpful:

:conditions => { :created_in_year => "2008" }
:conditions => { :created_in_month => "current" }
:conditions => { :created_in_month => "last" }
:conditions => { :created_in_month => "next" }
:conditions => { :created_in_month => "2008-09" }
:conditions => { :created_in_week => "next" }
:conditions => { :created_in_week => "last" }
:conditions => { :created_in_week => "40" }
:conditions => { :created_on_day => "yesterday" }
:conditions => { :created_on_day => "monday" }

I know, this is already on the todo list (http://github.com/binarylogic/se..., but I just want to note that it would be a very nice feature.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Provides common named scopes and object based searching.

People watching this ticket

Pages