[rt-users] Custom search based on full months

Ole Craig ocraig at symplified.com
Wed Nov 9 22:02:40 EST 2011


On Tue, 2011-11-08 at 10:20 -0600, ktm at rice.edu wrote:
> It still looks like the best option would be to patch the Time::ParseDate
> code to do what you want it to do. Even if you could inject "MySQL-isms"
> into the search, it makes the result only useful for MySQL backends. I
> know that I have wanted to do something similar in the past, i.e. 
> syntax like:
[...]
> I have not looked at what that would entail and still maintain the existing
> functionality. Have you tried to contact the Time::ParseDate author?

    Just chiming in here... I submitted a patch to Time::ParseDate for
something similar ("day of week before last") a few years ago. ISTR it's
not a difficult module to work with.

	Good luck,
		Ole
-- 
Ole Craig
Operations
www.symplified.com





More information about the rt-users mailing list