From 5df0ce0861738f3068ad362a93982a1c74b6dab2 Mon Sep 17 00:00:00 2001
From: Logan W <5383509+ediabal@users.noreply.github.com>
Date: Tue, 16 Mar 2021 13:35:37 -0700
Subject: [PATCH] Show year in month
---
src/CalendarNavigation.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/CalendarNavigation.js b/src/CalendarNavigation.js
index c077641c..15dfbba9 100644
--- a/src/CalendarNavigation.js
+++ b/src/CalendarNavigation.js
@@ -25,7 +25,7 @@ export default function CalendarNavigation({ locale, month, minimumDate, maximum
/>
- {format(month, getYear(month) === getYear(new Date()) ? 'LLLL' : 'LLLL yyyy', { locale })}
+ {format(month, 'LLLL yyyy', { locale })}