fix(convert): le champs article.date dans spip doit prendre le champs node.created

This commit is contained in:
François Poulain 2020-08-17 11:26:50 +02:00
parent ae576d1a38
commit 41e7200fc1

View File

@ -308,7 +308,7 @@ def convert_node(node, options):
article = None article = None
article_attributes = { article_attributes = {
'date': convert_timestamp(node.published_revision.timestamp), 'date': convert_timestamp(node.created),
'date_modif': convert_timestamp(node.changed), 'date_modif': convert_timestamp(node.changed),
'date_redac': convert_timestamp(node.created), 'date_redac': convert_timestamp(node.created),
'descriptif': sanitarize_html( 'descriptif': sanitarize_html(