truncate( to=>'month' ) is setting the month to 1. I think it should only do that if I asked to truncate to 'year', isn't it? Or maybe I'm doing something wrong.
I guess this depends on your expectations. What do others think? Does truncating to the month include the month or not?
I think that the truncation should be the highest granularity _preserved_, i.e. 'month' should drop the days and time, and truncate(to=>'year') should drop everything except the year.
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748