about summary refs log tree commit diff
path: root/src/components/hooks/dates.ts
diff options
context:
space:
mode:
authorYiannis Mertzanis <imertz@protonmail.com>2024-12-31 22:28:17 +0200
committerGitHub <noreply@github.com>2024-12-31 12:28:17 -0800
commit2300410b4d02daa7970b39bf7ec10acbffa785ae (patch)
treed92d39e2cc7ab491d45aa567477dbd70d81578b9 /src/components/hooks/dates.ts
parent30d110dbcdcbf527ebd7dbafdbf1cac0ae6e55ee (diff)
downloadvoidsky-2300410b4d02daa7970b39bf7ec10acbffa785ae.tar.zst
Add Greek Language ('el') Support and Internationalization (#6677)
* Add Greek language support to the application

* Add support for Greek language in date handling and tests

* Update Greek locale file with translator and team information

* Add support for Greek language in date handling and tests

* Add support for Greek language in app configuration, and updated translation from the reviewers' comments

* Update src/locale/i18n.ts

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* Update src/locale/i18n.ts

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Diffstat (limited to 'src/components/hooks/dates.ts')
-rw-r--r--src/components/hooks/dates.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/hooks/dates.ts b/src/components/hooks/dates.ts
index 3da33a3ae..4978cbaba 100644
--- a/src/components/hooks/dates.ts
+++ b/src/components/hooks/dates.ts
@@ -12,6 +12,7 @@ import {formatDistance, Locale} from 'date-fns'
 import {
   ca,
   de,
+  el,
   enGB,
   es,
   fi,
@@ -50,6 +51,7 @@ const locales: Record<AppLanguage, Locale | undefined> = {
   ast: undefined,
   ca,
   de,
+  el,
   ['en-GB']: enGB,
   es,
   fi,