diff --git a/src/renderer/src/components/FormattedTimestamp/index.tsx b/src/renderer/src/components/FormattedTimestamp/index.tsx index 183bb04..6c3b521 100644 --- a/src/renderer/src/components/FormattedTimestamp/index.tsx +++ b/src/renderer/src/components/FormattedTimestamp/index.tsx @@ -32,5 +32,5 @@ export function FormattedTimestamp({ return short ? t('n m', { n: diffMinute }) : t('n minutes ago', { n: diffMinute }) } - return short ? t('n s', { n: now.diff(time, 'second') }) : t('just now') + return t('just now') } diff --git a/src/renderer/src/i18n/en.ts b/src/renderer/src/i18n/en.ts index b1339b6..6a3fa06 100644 --- a/src/renderer/src/i18n/en.ts +++ b/src/renderer/src/i18n/en.ts @@ -12,7 +12,6 @@ export default { Following: 'Following', reposted: 'reposted', 'just now': 'just now', - 'n s': '{{n}}s', 'n minutes ago': '{{n}} minutes ago', 'n m': '{{n}}m', 'n hours ago': '{{n}} hours ago', diff --git a/src/renderer/src/i18n/zh.ts b/src/renderer/src/i18n/zh.ts index d6bf085..1066ec0 100644 --- a/src/renderer/src/i18n/zh.ts +++ b/src/renderer/src/i18n/zh.ts @@ -12,7 +12,6 @@ export default { Following: '关注', reposted: '转发', 'just now': '刚刚', - 'n s': '{{n}}秒', 'n minutes ago': '{{n}} 分钟前', 'n m': '{{n}}分', 'n hours ago': '{{n}} 小时前',