Fix CustomTimestamps

This commit is contained in:
thororen1234 2025-04-03 20:15:39 -04:00
parent 50cb219d3a
commit 8755406537
No known key found for this signature in database

View file

@ -71,7 +71,7 @@ export default definePlugin({
find: "#{intl::MESSAGE_EDITED_TIMESTAMP_A11Y_LABEL}",
replacement: [
{
match: /(?<=\i=\i\?)\(0,\i\.\i\)\((\i),"LT"\):\(0,\i\.\i\)\(\i,!0\)/,
match: /(?<=\i=null!=\i\?).{0,25}\((\i),"LT"\):\(0,\i\.\i\)\(\i,!0\)/,
replace: '$self.format($1,"compactFormat","[calendar]"):$self.format($1,"cozyFormat","LT")',
},
{