diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-04 09:28:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-09 10:12:08 +0100 |
commit | 1aa5e450f065bfdae8c354344f23b897f48a166f (patch) | |
tree | a8a291ad107df459b37f974e087e1230a9238f7d /wizards | |
parent | 78e0da267774a35f4abfef52f0ce74b1972128a4 (diff) |
copy_paste_error data1 looks like a copy-paste error
Change-Id: I937743f8d1789c68ed960c6a5aede0508dfa7bcd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105282
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/source/access2base/access2base.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |