diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2022-06-07 20:22:03 -0400 |
|---|---|---|
| committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-06-07 20:22:03 -0400 |
| commit | c17de10d3a823a550e503bbdc4d9bd180e359cd1 (patch) | |
| tree | c848070920c96342facdc76b65a6ffe7efde6d3b /src/components/timeago/timeago.vue | |
| parent | 15229d27b41c1a378fefbb834a4bfd5c12ff0514 (diff) | |
Delegate relativeTime plural rules to vue-i18n
Diffstat (limited to 'src/components/timeago/timeago.vue')
| -rw-r--r-- | src/components/timeago/timeago.vue | 2 |
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> |
