Time 2009/10/27 Jonathan Bracy <jonbr...@gmail.com>
> > What type of field is date? > > -Jon > > On Tue, Oct 27, 2009 at 3:25 PM, Chris <chris.webs...@gmail.com> wrote: > > Actually, it doesn't even properly sort rows by this date field... > > > > 2009/10/27 Chris <chris.webs...@gmail.com> > >> > >> Hey, > >> > >> I just found out that when querying like follows: > >> > >> SomeModel.all(:date.gte => @some_other_time) > >> > >> Where both :date, and @some_other_time are Time instances, it will only > >> match records where the date (as opposed to time) component shows a > >> difference, but completely ignores differences in the time component. > >> > >> Is this a bug, or am I overlooking something? > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to datamapper@googlegroups.com To unsubscribe from this group, send email to datamapper+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---