feat: add absolute timestamps, close #498 (#573)

This commit is contained in:
Xylight authored and GitHub committed 2025-06-15 10:47:16 -07:00
1 parent d90ece1a76
commit 346d89f7cc
4 files changed
+25 -4

No files matched your search

+4 -1
View File
@@ -97,10 +97,12 @@ interface Settings {
useRtl: boolean
parseTags: boolean
logoColorMonth: number | null
absoluteDates: boolean
}
export const defaultSettings: Settings = {
settingsVer: 3,
settingsVer: 4,
expandableImages: toBool(env.PUBLIC_EXPANDABLE_IMAGES) ?? true,
markReadPosts: toBool(env.PUBLIC_MARK_READ_POSTS) ?? true,
showInstances: {
@@ -171,6 +173,7 @@ export const defaultSettings: Settings = {
useRtl: false,
parseTags: true,
logoColorMonth: null,
absoluteDates: false,
}
function createSettingsState(initial: Settings): Settings {