From bb073f352cdb846c22b50ec5cee3a4d4cf5284c2 Mon Sep 17 00:00:00 2001 From: Andreas Niedermair Date: Thu, 10 Apr 2014 10:23:56 +0200 Subject: [PATCH] fixes #1601 --- test/lang/de.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/lang/de.js b/test/lang/de.js index 1a4cc4397..a478186b7 100644 --- a/test/lang/de.js +++ b/test/lang/de.js @@ -190,12 +190,12 @@ exports["lang:de"] = { var a = moment().hours(2).minutes(0).seconds(0); - test.equal(moment(a).calendar(), "Heute um 2:00 Uhr", "today at the same time"); - test.equal(moment(a).add({ m: 25 }).calendar(), "Heute um 2:25 Uhr", "Now plus 25 min"); - test.equal(moment(a).add({ h: 1 }).calendar(), "Heute um 3:00 Uhr", "Now plus 1 hour"); - test.equal(moment(a).add({ d: 1 }).calendar(), "Morgen um 2:00 Uhr", "tomorrow at the same time"); - test.equal(moment(a).subtract({ h: 1 }).calendar(), "Heute um 1:00 Uhr", "Now minus 1 hour"); - test.equal(moment(a).subtract({ d: 1 }).calendar(), "Gestern um 2:00 Uhr", "yesterday at the same time"); + test.equal(moment(a).calendar(), "Heute um 02:00 Uhr", "today at the same time"); + test.equal(moment(a).add({ m: 25 }).calendar(), "Heute um 02:25 Uhr", "Now plus 25 min"); + test.equal(moment(a).add({ h: 1 }).calendar(), "Heute um 03:00 Uhr", "Now plus 1 hour"); + test.equal(moment(a).add({ d: 1 }).calendar(), "Morgen um 02:00 Uhr", "tomorrow at the same time"); + test.equal(moment(a).subtract({ h: 1 }).calendar(), "Heute um 01:00 Uhr", "Now minus 1 hour"); + test.equal(moment(a).subtract({ d: 1 }).calendar(), "Gestern um 02:00 Uhr", "yesterday at the same time"); test.done(); }, -- 2.47.2