feat: add shared date and time formatting

This commit is contained in:
MaxTomahawk
2026-08-11 11:17:32 +02:00
parent 79ed37699e
commit 2c8c800584
8 changed files with 265 additions and 1 deletions
+6
View File
@@ -332,6 +332,12 @@ function SaveData.defaultOptions()
-- gets the tick without going looking for the row. Inert wherever the
-- overlay never appears (desktop) or LOVE has no vibrator.
haptics = "light",
-- Shared UI/mod timestamp presentation. DEVICE follows the process time
-- locale where the platform exposes one; otherwise DateTime falls back to
-- DD-MM-YYYY and 24-hour time. Kept in options.lua so checkpoints never
-- rewind presentation preferences.
dateFormat = "device", -- device | dmy | mdy | ymd
timeFormat = "device", -- device | 24h | 12h
}
end