aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeago/timeago.vue
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-06-07 20:22:03 -0400
committerTusooa Zhu <tusooa@kazv.moe>2022-06-07 20:22:03 -0400
commitc17de10d3a823a550e503bbdc4d9bd180e359cd1 (patch)
treec848070920c96342facdc76b65a6ffe7efde6d3b /src/components/timeago/timeago.vue
parent15229d27b41c1a378fefbb834a4bfd5c12ff0514 (diff)
Delegate relativeTime plural rules to vue-i18n
Diffstat (limited to 'src/components/timeago/timeago.vue')
-rw-r--r--src/components/timeago/timeago.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/timeago/timeago.vue b/src/components/timeago/timeago.vue
index bed29020..2b487dfd 100644
--- a/src/components/timeago/timeago.vue
+++ b/src/components/timeago/timeago.vue
@@ -3,7 +3,7 @@
:datetime="time"
:title="localeDateString"
>
- {{ $t(relativeTime.key, [relativeTime.num]) }}
+ {{ $tc(relativeTime.key, relativeTime.num, [relativeTime.num]) }}
</time>
</template>