Translate formatDateSince #1800

Closed
opened 2021-07-06 14:33:10 +00:00 by andreymal · 1 comment
Contributor

formatDateSince is always English now.

An easy fix could be:

const distance = formatDistance(date, currentDate, {locale: locales[$t('date.locale')]})
[formatDateSince](https://kolaente.dev/vikunja/frontend/src/branch/main/src/helpers/time/formatDate.js#L25) is always English now. An easy fix could be: ```javascript const distance = formatDistance(date, currentDate, {locale: locales[$t('date.locale')]}) ```
Owner

Should be fixed in 647b02e989.

Should be fixed in 647b02e989d6cfa346ca791105bd00ac521c79f6.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1800
No description provided.