]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
fixing fr-ca lang for #614
authorTim Wood <washwithcare@gmail.com>
Fri, 8 Feb 2013 17:43:39 +0000 (09:43 -0800)
committerTim Wood <washwithcare@gmail.com>
Fri, 8 Feb 2013 17:43:39 +0000 (09:43 -0800)
lang/fr-ca.js
test/lang/fr-ca.js

index d3dc524e83c5a75053fcc116c461beb2a62e15e4..3c342ce630cee41fd66e07da8dd21ffa89d11b96 100644 (file)
@@ -35,7 +35,7 @@ require('../moment').lang('fr-ca', {
         dd : "%d jours",
         M : "un mois",
         MM : "%d mois",
-        y : "une an",
+        y : "un an",
         yy : "%d ans"
     },
     ordinal : function (number) {
index 477aa3983e78586d302a3ae450e1927d38c711dc..e5694ee3003bd1608e2af146831c0575f8858d3f 100644 (file)
@@ -174,10 +174,10 @@ exports["lang:fr-ca"] = {
         test.equal(start.from(moment([2007, 1, 28]).add({M:1}), true),   "un mois",    "1 month = a month");
         test.equal(start.from(moment([2007, 1, 28]).add({M:5}), true),   "5 mois",   "5 months = 5 months");
         test.equal(start.from(moment([2007, 1, 28]).add({d:344}), true), "11 mois",  "344 days = 11 months");
-        test.equal(start.from(moment([2007, 1, 28]).add({d:345}), true), "une an",     "345 days = a year");
-        test.equal(start.from(moment([2007, 1, 28]).add({d:547}), true), "une an",     "547 days = a year");
+        test.equal(start.from(moment([2007, 1, 28]).add({d:345}), true), "un an",     "345 days = a year");
+        test.equal(start.from(moment([2007, 1, 28]).add({d:547}), true), "un an",     "547 days = a year");
         test.equal(start.from(moment([2007, 1, 28]).add({d:548}), true), "2 ans",    "548 days = 2 years");
-        test.equal(start.from(moment([2007, 1, 28]).add({y:1}), true),   "une an",     "1 year = a year");
+        test.equal(start.from(moment([2007, 1, 28]).add({y:1}), true),   "un an",     "1 year = a year");
         test.equal(start.from(moment([2007, 1, 28]).add({y:5}), true),   "5 ans",    "5 years = 5 years");
 
         test.done();