summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/app/common/views/components/time.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/time.vue b/src/client/app/common/views/components/time.vue
index 994f593f95..84f701469e 100644
--- a/src/client/app/common/views/components/time.vue
+++ b/src/client/app/common/views/components/time.vue
@@ -53,8 +53,8 @@ export default Vue.extend({
ago >= 3600 ? this.$t('@.time.hours_ago') .replace('{}', (~~(ago / 3600)).toString()) :
ago >= 60 ? this.$t('@.time.minutes_ago').replace('{}', (~~(ago / 60)).toString()) :
ago >= 10 ? this.$t('@.time.seconds_ago').replace('{}', (~~(ago % 60)).toString()) :
- ago >= 0 ? this.$t('@.time.just_now') :
- ago < 0 ? this.$t('@.time.future') :
+ ago >= -1 ? this.$t('@.time.just_now') :
+ ago < -1 ? this.$t('@.time.future') :
this.$t('@.time.unknown'));
}
},