This commit is contained in:
parent
0f02b9ba3d
commit
7e8995ef2e
@ -30,8 +30,8 @@ export default ((opts?: Partial<ContentMetaOptions>) => {
|
|||||||
const segments: (string | JSX.Element)[] = []
|
const segments: (string | JSX.Element)[] = []
|
||||||
|
|
||||||
if (fileData.dates) {
|
if (fileData.dates) {
|
||||||
segments.push("Создана: " + formatDate(getDate(cfg, fileData)!, cfg.locale))
|
segments.push("Создана: " + formatDate(fileData.dates.created!, cfg.locale))
|
||||||
segments.push("Обновлена: " + formatDate(getDate(cfg, fileData)!, cfg.locale))
|
segments.push("Обновлена: " + formatDate(fileData.dates.modified!, cfg.locale))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display reading time if enabled
|
// Display reading time if enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user