display full month name in event section headers

This commit is contained in:
Leander Furumo committed 2024-04-03 00:18:06 +02:00
1 parent d1cc4e89bf
commit 6509f91846
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ moment.locale('nb');
const formatDate = (time) => {
const m = moment(time);
return moment().year() === m.year() ? m.format('dddd D. MMM') : m.format('ll');
return moment().year() === m.year() ? m.format('dddd D. MMMM') : m.format('ll');
};
/* Ref: https://medium.com/react-native-development/how-to-use-the-flatlist-component-react-native-basics-92c482816fe6 */