fixed lastmod.ts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2024-09-07 17:36:30 +03:00
parent 0f02b9ba3d
commit 7e8995ef2e
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C

View File

@ -30,8 +30,8 @@ export default ((opts?: Partial<ContentMetaOptions>) => {
const segments: (string | JSX.Element)[] = []
if (fileData.dates) {
segments.push("Создана: " + formatDate(getDate(cfg, fileData)!, cfg.locale))
segments.push("Обновлена: " + formatDate(getDate(cfg, fileData)!, cfg.locale))
segments.push("Создана: " + formatDate(fileData.dates.created!, cfg.locale))
segments.push("Обновлена: " + formatDate(fileData.dates.modified!, cfg.locale))
}
// Display reading time if enabled