\n
\n \n {year}\n \n
\n {publicationsByYear[year].map(publication => (\n
\n \n {publication.title}{' '}\n \n {format(\n new Date(publication.publishedDate),\n 'dd MMMM yyyy',\n )}\n \n \n \n ))}\n {/*
\n \n \n {year}\n \n\n \n {months.map(month => {\n const formattedMonth = format(new Date(month), 'MMM')\n return (\n publicationsByMonth[formattedMonth] && (\n \n {formattedMonth}\n \n )\n )\n })}\n \n
\n\n {months.map(month => {\n const formattedMonth = format(new Date(month), 'MMM')\n return (\n publicationsByMonth[formattedMonth] && (\n \n {pipe(\n sortBy(release =>\n format(new Date(release.publishedDate), 'dd'),\n ),\n reverse,\n )(publicationsByMonth[formattedMonth]).map(\n publication => {\n return (\n \n \n {publication.title}{' '}\n \n {format(\n new Date(publication.publishedDate),\n 'dd MMMM yyyy',\n )}\n \n \n \n )\n },\n )}\n \n )\n )\n })}\n */}\n
\n )\n })}\n