mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-13 18:30:43 +01:00
fix #1649
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:
committed by
Thomas Basler
parent
6233ad12ae
commit
f26e824247
@@ -31,7 +31,7 @@ export default defineComponent({
|
||||
computed: {
|
||||
timeInHours() {
|
||||
return (value: number) => {
|
||||
return timestampToString(value);
|
||||
return timestampToString(this.$i18n.locale, value)[0];
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user