Strange select_date behavior or possible bug

I'm using select_date to display combo boxes with a date selection and I would like to change the selected date to be a day or a week from now.

<%= select_date (Date.today + 1), :prefix => 'start_date' %> <%= select_date (Date.today + 7), :prefix => 'start_date' %>

Results in today's date being used

<%= select_date (Date.today + 1), :prefix => 'end_date' %> <%= select_date (Date.today + 7), :prefix => 'end_date' %>

Results in tomorrow's date being used. For some reason if the prefix includes 'start' the date is today otherwise it ends up being tomorrow but in all the cases it appears that the passed date is ignored.

select_day however behaves as expected

<%= select_day (Date.today + 1), :prefix => 'end_date' %> => combo with tomorrow selected <%= select_day (Date.today + 7), :prefix => 'end_date' %> => combo with the day for one week from now selected

Has anybody else noticed this? Is this just a bug or am I missing something?

This was caused by Firefox recording the values set in the combos regardless of whether the page was refereshed. When I accessed the page via a link versus a referesh the combos worked fine.