From 41e7200fc13030aff3b6a2494fa67916c9c4749b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poulain?= Date: Mon, 17 Aug 2020 11:26:50 +0200 Subject: [PATCH] fix(convert): le champs article.date dans spip doit prendre le champs node.created --- drupal2spip_lal/base/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drupal2spip_lal/base/convert.py b/drupal2spip_lal/base/convert.py index 66eefc6..3e1c32c 100644 --- a/drupal2spip_lal/base/convert.py +++ b/drupal2spip_lal/base/convert.py @@ -308,7 +308,7 @@ def convert_node(node, options): article = None article_attributes = { - 'date': convert_timestamp(node.published_revision.timestamp), + 'date': convert_timestamp(node.created), 'date_modif': convert_timestamp(node.changed), 'date_redac': convert_timestamp(node.created), 'descriptif': sanitarize_html(