diff --git a/RELEASE.md b/RELEASE.md index 81e54f1cf..6a88d4923 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -30,6 +30,12 @@ - ... --> +## Versione 7.22.2 (11/10/2023) + +### Fix + +- Sistemato il template degli Rss Card con immagine per mostrare la data corretta + ## Versione 7.22.1 (27/09/2023) ### Migliorie diff --git a/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx b/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx index f5db85ede..877999a5e 100644 --- a/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx +++ b/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx @@ -76,7 +76,9 @@ const CardWithImageRssTemplate = ({ )} - {getViewDate(item.pubDate, intl.locale)}{' '} + + {getViewDate(item.pubDate || item.date, intl.locale)} + {' '} {item.title}