chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-02-28 21:28:59 -06:00
parent 43c30428a6
commit 1357dc6737
70 changed files with 3295 additions and 355 deletions
@@ -67,11 +67,11 @@
const weeks = Math.floor(days / 7);
const years = Math.floor(days / 365);
if (years > 0) return $i18n.t('{{count}}y', { count: years, context: 'time_ago' });
if (weeks > 0) return $i18n.t('{{count}}w', { count: weeks, context: 'time_ago' });
if (days > 0) return $i18n.t('{{count}}d', { count: days, context: 'time_ago' });
if (hours > 0) return $i18n.t('{{count}}h', { count: hours, context: 'time_ago' });
if (minutes > 0) return $i18n.t('{{count}}m', { count: minutes, context: 'time_ago' });
if (years > 0) return $i18n.t('{{COUNT}}y', { count: years, context: 'time_ago' });
if (weeks > 0) return $i18n.t('{{COUNT}}w', { count: weeks, context: 'time_ago' });
if (days > 0) return $i18n.t('{{COUNT}}d', { count: days, context: 'time_ago' });
if (hours > 0) return $i18n.t('{{COUNT}}h', { count: hours, context: 'time_ago' });
if (minutes > 0) return $i18n.t('{{COUNT}}m', { count: minutes, context: 'time_ago' });
return $i18n.t('1m', { context: 'time_ago' });
}