www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 695cb9583aa1c5548ebd8e959ca2845884dba5fc
parent aa783878dee10ebb9f0649593ac52354d51947c7
Author: gracile-fr <gracile@gmx.com>
Date:   Mon, 16 Jan 2017 15:54:02 +0100

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.

Diffstat:
Mresource/schema/dateFormats.json | 6+++---
Mtest/tests/dateTest.js | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 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 @@ -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",