From 8257b3010900f58a37fd41ce499b89ea7088a312 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 12 Oct 2022 11:12:29 +0200 Subject: [PATCH] feat: translate dates and elapsed time --- src/components/Timeline.vue | 105 +++++++++++++++++++----------------- src/locales/en.json | 10 ++++ src/locales/fr.json | 11 ++++ 3 files changed, 77 insertions(+), 49 deletions(-) diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index e892672..c816fb2 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -21,7 +21,7 @@
- Created {{ proj.name }} {{ proj.started_at | date_diff }} ago + Created {{ proj.name }} {{ elapsed(proj.started_at) }}
@@ -61,7 +61,7 @@