diff --git a/src/components/LDeviceLocationPopup.vue b/src/components/LDeviceLocationPopup.vue
index d2d7c6a..503119d 100644
--- a/src/components/LDeviceLocationPopup.vue
+++ b/src/components/LDeviceLocationPopup.vue
@@ -7,7 +7,7 @@
-
- {{ new Date(timestamp * 1000).toLocaleString() }}
+ {{ new Date(timestamp * 1000).toLocaleString(locale) }}
-
@@ -64,6 +64,8 @@ import {
} from "vue-feather-icons";
import { LPopup } from "vue2-leaflet";
+import config from "@/config";
+
export default {
name: "LDeviceLocationPopup",
components: {
@@ -120,6 +122,11 @@ export default {
default: null,
},
},
+ data() {
+ return {
+ locale: config.locale,
+ };
+ },
computed: {
/**
* Return the face image as a data URI string which can be used for an image's src attribute