93cecbe49c
* Fix bulma/buefy being imported many (many !!!) times * Remove javascript-time-ago because date-fns pretty much does the same thing * Make sure languages are loaded asynchronously Signed-off-by: Thomas Citharel <tcit@tcit.fr>
12 lines
380 B
TypeScript
12 lines
380 B
TypeScript
import nl2br from "@/filters/utils";
|
|
import { formatDateString, formatTimeString, formatDateTimeString } from "./datetime";
|
|
|
|
export default {
|
|
install(vue: any): void {
|
|
vue.filter("formatDateString", formatDateString);
|
|
vue.filter("formatTimeString", formatTimeString);
|
|
vue.filter("formatDateTimeString", formatDateTimeString);
|
|
vue.filter("nl2br", nl2br);
|
|
},
|
|
};
|