From 1c177c8b3e7262076e82095029c17836f8dc3c8c Mon Sep 17 00:00:00 2001 From: Reko Jokelainen Date: Wed, 10 Feb 2021 15:14:34 +0200 Subject: [PATCH] Set yearStart correctly for Finnish locale The Finnish locale should have 2020-12-31 as week 53. According to https://en.wikipedia.org/wiki/Date_and_time_notation_in_Finland "The week begins with a Monday and week 1 is the week containing the year's first Thursday" --- src/locale/fi.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/locale/fi.js b/src/locale/fi.js index d03f4cbd5..2c46d62dc 100644 --- a/src/locale/fi.js +++ b/src/locale/fi.js @@ -47,6 +47,7 @@ const locale = { monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'), ordinal: n => `${n}.`, weekStart: 1, + yearStart: 4, relativeTime: { future: '%s päästä', past: '%s sitten',