feat: allow to use custom date output formats

closes #116
This commit is contained in:
Danny Koppenhagen
2022-01-10 13:02:31 +01:00
committed by Bastian
parent e0113c446d
commit dc84d19236
9 changed files with 45 additions and 10 deletions

View File

@@ -46,7 +46,7 @@ export default function PageIndex({
<QuadrantGrid items={featuredOnly(items)} config={config} />
)}
<div className="publish-date">
{publishedLabel} {formatRelease(newestRelease)}
{publishedLabel} {formatRelease(newestRelease, config.dateFormat)}
</div>
</Fadeable>
);