[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - wizards/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 9 09:35:51 UTC 2020


 wizards/source/access2base/access2base.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4a6ca8920afc0bbb8e36869416745d5b0163313c
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Nov 4 09:28:02 2020 +0000
Commit:     Jean-Pierre Ledure <jp at ledure.be>
CommitDate: Mon Nov 9 10:35:11 2020 +0100

    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 at redhat.com>
    (cherry picked from commit 1aa5e450f065bfdae8c354344f23b897f48a166f)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105457
    Tested-by: Jean-Pierre Ledure <jp at ledure.be>
    Reviewed-by: Jean-Pierre Ledure <jp at ledure.be>

diff --git a/wizards/source/access2base/access2base.py b/wizards/source/access2base/access2base.py
index e84b95983820..d68cd87aaec0 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


More information about the Libreoffice-commits mailing list