Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(native): fix year not being shown in recent-list, but "gggg" instead (#18080)

Michael Lohmannd5e2f645189f
diff --git a/react/features/recent-list/functions.native.ts b/react/features/recent-list/functions.native.ts
index 0a7b63752b..6a5d31298e 100644
--- a/react/features/recent-list/functions.native.ts
+++ b/react/features/recent-list/functions.native.ts
@@ -81,7 +81,7 @@ function _toDateString(itemDate: number, t: Function) {
} else if (date.getFullYear() !== now.getFullYear()) {
// We only want to include the year in the date if its not the current
// year.
- return m.format('ddd, MMMM DD h:mm A, gggg');
+ return m.format('ddd, MMMM DD h:mm A, YYYY');
}
return m.format('ddd, MMMM DD h:mm A');