[FIX] web: adapt newly added test (2)

This commit is contained in:
Christophe Simonis
2018-09-06 17:27:50 +02:00
parent 63f95760ef
commit 737ca0eb42
+2 -2
View File
@@ -343,11 +343,11 @@ QUnit.module('core', function () {
'2015-02-02');
assert.strictEqual(
py.eval("(datetime.date(2018, 2, 1) + relativedelta(years=7, months=42, days=42)).strftime('%Y-%m-%d')",
pyeval.context()),
pyEval.context()),
'2028-09-12');
assert.strictEqual(
py.eval("(datetime.date(2018, 2, 1) + relativedelta(years=-7, months=-42, days=-42)).strftime('%Y-%m-%d')",
pyeval.context()),
pyEval.context()),
'2007-06-20');
});