Hi,

I try to import a large set of nodes. I set the "Authored on" field to a certain column in my csv.
The fields are formated like this:
4/8/08 - 12:00
The time is always - 12:00

The custom date format I am trying to use is:
n/j/y - H:i

But when I try to import it, I get a "You have to specify a valid date." exception. I can't find my mistake. Am I doing it wrong or is it a bug?
But it

Comments

andrej235’s picture

I forgot to post the format node_import tries to make out of it:

[date] => 2008-04-08 12:00:00 -0700

This seems to be the issue. The format is not supported by the method used to generate the nodes, I guess.

andrej235’s picture

Component: User interface » Code
Category: support » bug
andrej235’s picture

Status: Active » Needs review

I figured that the problem was cause by the module node_expire. Uninstalling it helped.