
d.oliveira at prozone
Sep 9, 2009, 8:09 AM
Post #2 of 5
(1116 views)
Permalink
|
Ops, Here is the patch URL. http://prozone.org/~david/projects/bricolage/bric_search_dates_fix.patch On Sep 9, 2009, at 4:01 PM, David Oliveira wrote: > Hello, > > Searching for stories with cover date from 31 Aug 2009 (example) to > current date, we get "Invalid start date". The same problem occurs > when specifying end date. > Looking on the code, I found the problem.. > It occurs because eval returns the error (Illegal octal digit '8') > while trying DateTime->new(year => 2009, month => 08, day => 31) and > the 08 value is naturally interpreted as an octal integer. > So, I changed the code. Watch the attached patch. > Thank you. > > > > > > -- > David Oliveira > <d.oliveira [at] prozone>
|