From 695cb9583aa1c5548ebd8e959ca2845884dba5fc Mon Sep 17 00:00:00 2001 From: gracile-fr Date: Mon, 16 Jan 2017 15:54:02 +0100 Subject: [PATCH] Amend short form of French months (continuing #64) The Firefox French language pack contains some mistakes regarding the short form of months. As a consequence, French month parsing didn't work. Please note that these values aren't even the correct abbreviations but only the three or four first letters of the correct abbreviations. See the French CSL locale for the correct abbreviations. --- resource/schema/dateFormats.json | 6 +++--- test/tests/dateTest.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resource/schema/dateFormats.json b/resource/schema/dateFormats.json index d707f65d1..e1d5bec87 100644 --- a/resource/schema/dateFormats.json +++ b/resource/schema/dateFormats.json @@ -306,13 +306,13 @@ "mar", "avr", "mai", - "jun", - "jul", + "juin", + "juil", "aoû", "sep", "oct", "nov", - "dec" + "déc" ], "long": [ "janvier", diff --git a/test/tests/dateTest.js b/test/tests/dateTest.js index 8e7083c76..04de09a7b 100644 --- a/test/tests/dateTest.js +++ b/test/tests/dateTest.js @@ -9,7 +9,7 @@ describe("Zotero.Date", function() { "October", "November", "December" ]; var frenchShort = [ - "jan", "fév", "mar", "avr", "mai", "jun", "jul", "aoû", "sep", "oct", "nov", "dec" + "jan", "fév", "mar", "avr", "mai", "juin", "juil", "aoû", "sep", "oct", "nov", "déc" ]; var frenchLong = [ "janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre",