Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
andrej235 CreditAttribution: andrej235 commentedI 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.
Comment #2
andrej235 CreditAttribution: andrej235 commentedComment #3
andrej235 CreditAttribution: andrej235 commentedI figured that the problem was cause by the module node_expire. Uninstalling it helped.