From 1a1ff2dc44bcf8a8d6e13dc9d480e260e48a3a05 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 2 Oct 2021 14:57:20 +0200 Subject: [PATCH] Partial impl for #5142 --- frontend/src/components/bills/Index.vue | 90 ++++++++++++++++--------- frontend/src/pages/accounts/index.js | 58 ++++++++-------- frontend/src/pages/bills/index.js | 48 ++++++------- 3 files changed, 112 insertions(+), 84 deletions(-) diff --git a/frontend/src/components/bills/Index.vue b/frontend/src/components/bills/Index.vue index 0cf3718df5..887029d870 100644 --- a/frontend/src/components/bills/Index.vue +++ b/frontend/src/components/bills/Index.vue @@ -22,7 +22,8 @@
@@ -49,7 +50,7 @@ {{ $t('firefly.bill_repeats_' + data.item.repeat_freq) }} {{ $t('firefly.bill_repeats_' + data.item.repeat_freq + '_other') }} {{ - $t('firefly.bill_repeats_' + data.item.repeat_freq + '_skip', {skip: data.item.skip + 1}) + $t('firefly.bill_repeats_' + data.item.repeat_freq + '_skip', {skip: data.item.skip + 1}) }} {{ $t('firefly.inactive') }} @@ -114,11 +115,13 @@
{{ - $t('firefly.extension_date_is', {date: new Intl.DateTimeFormat(locale, { + $t('firefly.extension_date_is', { + date: new Intl.DateTimeFormat(locale, { year: 'numeric', month: 'long', day: 'numeric' - }).format(new Date(data.item.extension_date.substring(0, 10)))}) + }).format(new Date(data.item.extension_date.substring(0, 10))) + }) }}
@@ -126,8 +129,8 @@