one of the goals of my pull request, besides simplifying the code was to have localization.

It's nice that the browser can handle this, but for consistency, we'll go with vue-i18n since it is already available
This commit is contained in:
Nikolaj Kappler
2024-01-15 22:40:23 +01:00
committed by Thomas Basler
parent 6233ad12ae
commit f26e824247
6 changed files with 16 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ export default defineComponent({
computed: {
timeInHours() {
return (value: number) => {
return timestampToString(value);
return timestampToString(this.$i18n.locale, value)[0];
};
},
},