]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Decapitalizing yesterday/today/tomorrow in Dutch, fixes #919 1093/head
authorMenelion Elensúle (Andre Polykanine) <andre@oire.org>
Sun, 15 Sep 2013 11:31:30 +0000 (14:31 +0300)
committerMenelion Elensúle (Andre Polykanine) <andre@oire.org>
Sun, 15 Sep 2013 11:31:30 +0000 (14:31 +0300)
lang/nl.js
test/lang/nl.js

index 61aea088f26c6352f4d5274ef720c38478e505e1..3717904afb3afd0052cbbe70a973f3c73bb29d62 100644 (file)
             LLLL : "dddd D MMMM YYYY LT"
         },
         calendar : {
-            sameDay: '[Vandaag om] LT',
-            nextDay: '[Morgen om] LT',
+            sameDay: '[vandaag om] LT',
+            nextDay: '[morgen om] LT',
             nextWeek: 'dddd [om] LT',
-            lastDay: '[Gisteren om] LT',
+            lastDay: '[gisteren om] LT',
             lastWeek: '[afgelopen] dddd [om] LT',
             sameElse: 'L'
         },
index 00ae496cdd007e10251854d7668c752140978ce2..cb4eb65c26a3b3ca04508629e17e1fb46f0fc655 100644 (file)
@@ -194,12 +194,12 @@ exports["lang:nl"] = {
 
         var a = moment().hours(2).minutes(0).seconds(0);
 
-        test.equal(moment(a).calendar(),                     "Vandaag om 02:00",     "today at the same time");
-        test.equal(moment(a).add({ m: 25 }).calendar(),      "Vandaag om 02:25",     "Now plus 25 min");
-        test.equal(moment(a).add({ h: 1 }).calendar(),       "Vandaag om 03:00",     "Now plus 1 hour");
-        test.equal(moment(a).add({ d: 1 }).calendar(),       "Morgen om 02:00",    "tomorrow at the same time");
-        test.equal(moment(a).subtract({ h: 1 }).calendar(),  "Vandaag om 01:00",     "Now minus 1 hour");
-        test.equal(moment(a).subtract({ d: 1 }).calendar(),  "Gisteren om 02:00",   "yesterday at the same time");
+        test.equal(moment(a).calendar(),                     "vandaag om 02:00",     "today at the same time");
+        test.equal(moment(a).add({ m: 25 }).calendar(),      "vandaag om 02:25",     "Now plus 25 min");
+        test.equal(moment(a).add({ h: 1 }).calendar(),       "vandaag om 03:00",     "Now plus 1 hour");
+        test.equal(moment(a).add({ d: 1 }).calendar(),       "morgen om 02:00",    "tomorrow at the same time");
+        test.equal(moment(a).subtract({ h: 1 }).calendar(),  "vandaag om 01:00",     "Now minus 1 hour");
+        test.equal(moment(a).subtract({ d: 1 }).calendar(),  "gisteren om 02:00",   "yesterday at the same time");
         test.done();
     },