From 1aa5e450f065bfdae8c354344f23b897f48a166f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 4 Nov 2020 09:28:02 +0000 Subject: [PATCH] copy_paste_error data1 looks like a copy-paste error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I937743f8d1789c68ed960c6a5aede0508dfa7bcd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105282 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- wizards/source/access2base/access2base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizards/source/access2base/access2base.py b/wizards/source/access2base/access2base.py index 87734ebbb17f..00b9c894488d 100644 --- a/wizards/source/access2base/access2base.py +++ b/wizards/source/access2base/access2base.py @@ -900,7 +900,7 @@ class Basic(object, metaclass = _Singleton): @classmethod def DateDiff(cls, add, date1, date2, weekstart = 1, yearstart = 1): if isinstance(date1, datetime.datetime): date1 = date1.isoformat() - if isinstance(date2, datetime.datetime): date2 = date1.isoformat() + if isinstance(date2, datetime.datetime): date2 = date2.isoformat() return cls.M('PyDateDiff', _WRAPPERMODULE, add, date1, date2, weekstart, yearstart) @classmethod