diff --git a/client/components/Message.vue b/client/components/Message.vue
index 757a90b5..1693b68f 100644
--- a/client/components/Message.vue
+++ b/client/components/Message.vue
@@ -8,7 +8,7 @@
:data-type="message.type"
:data-from="message.from && message.from.nick"
>
- {{ messageTime }}
@@ -78,6 +78,7 @@
diff --git a/client/components/MessageTypes/whois.vue b/client/components/MessageTypes/whois.vue
index ae369602..a3c1cfbd 100644
--- a/client/components/MessageTypes/whois.vue
+++ b/client/components/MessageTypes/whois.vue
@@ -90,18 +90,19 @@
Connected at:
- {{ message.whois.logonTime | localetime }}
+ {{ localetime(message.whois.logonTime) }}
Idle since:
- {{ message.whois.idleTime | localetime }}
+ {{ localetime(message.whois.idleTime) }}
diff --git a/client/components/Session.vue b/client/components/Session.vue
index 3e1d488d..28ca3b1c 100644
--- a/client/components/Session.vue
+++ b/client/components/Session.vue
@@ -12,7 +12,7 @@
Currently active
- Last used on
+ Last used on
@@ -26,6 +26,7 @@
diff --git a/client/components/Special/ListIgnored.vue b/client/components/Special/ListIgnored.vue
index b30a6de7..0764dc22 100644
--- a/client/components/Special/ListIgnored.vue
+++ b/client/components/Special/ListIgnored.vue
@@ -9,18 +9,25 @@
{{ user.hostmask }} |
- {{ user.when | localetime }} |
+ {{ localetime(user.when) }} |
diff --git a/client/components/Special/ListInvites.vue b/client/components/Special/ListInvites.vue
index 5eb4d49b..6d85b7fd 100644
--- a/client/components/Special/ListInvites.vue
+++ b/client/components/Special/ListInvites.vue
@@ -11,18 +11,25 @@
{{ invite.hostmask }} |
{{ invite.invited_by }} |
- {{ invite.invited_at | localetime }} |
+ {{ localetime(invite.invited_at) }} |
diff --git a/client/js/vue.js b/client/js/vue.js
index 98116c06..91f10665 100644
--- a/client/js/vue.js
+++ b/client/js/vue.js
@@ -5,13 +5,10 @@ const constants = require("./constants");
import Vue from "vue";
import store from "./store";
import App from "../components/App.vue";
-import localetime from "./helpers/localetime";
import storage from "./localStorage";
import {router, navigate} from "./router";
import socket from "./socket";
-Vue.filter("localetime", localetime);
-
import "./socket-events";
import "./webpush";
import "./keybinds";