Module works ok, but when using a YMD date I get a PHP Notice: Undefined offset: 1 in date_range_years() (line 1945 of sites\all\modules\date\date_api.module).

Comments

karens’s picture

Status: Active » Postponed (maintainer needs more info)

Not enough information to reproduce the problem. Please describe the steps to see this message.

wouter99999’s picture

I see this as message in node/x#overlay=node/add/mycontenttype and node/x#overlay=node/edit/mycontenttype with mycontenttype containing a date field in the format: 12 Dec 2010 (only d/m/y so no timezone set).

karens’s picture

I cannot replicate this. I have PHP set up to report all errors and see none.

karens’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

No more response and I can't replicate the problem.

wouter99999’s picture

Status: Closed (won't fix) » Closed (works as designed)

Hi,
I found the problem: I had a date field where I used -25+1 as range of years instead of -25:+1 (I forgot the ":").