mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 14:31:44 +01:00
Adds seconds and fixes #1136
This commit is contained in:
@@ -31,7 +31,14 @@ export default {
|
||||
computed: {
|
||||
...mapState(["settings"]),
|
||||
locale() {
|
||||
return styles[this.settings.hourStyle];
|
||||
const locale = styles[this.settings.hourStyle];
|
||||
const oldFormatter = locale.formatRelative;
|
||||
return {
|
||||
...locale,
|
||||
formatRelative(token) {
|
||||
return oldFormatter(token) + "p";
|
||||
},
|
||||
};
|
||||
},
|
||||
},
|
||||
filters: {
|
||||
|
||||
Reference in New Issue
Block a user