esc-reporting/esc-collect.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 136a2d65c494e6bcb477507e88f2d6493c94b12b
Author: jan Iversen <j...@documentfoundation.org>
Date:   Sat Dec 24 12:39:12 2016 +0100

    update due to problem in gerrit API

diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index 6bfb9c0..e222485 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -93,7 +93,8 @@ def util_load_data_file(cfg, fileName, funcName, 
rawListProto):
       rawList = rawListProto
       rawList['newest-entry'] = (datetime.datetime.now() - 
datetime.timedelta(days=365)).strftime("%Y-%m-%d 00")
       print('retrieving full year of ' + funcName + ', take a coffee')
-    return datetime.datetime.strptime(rawList['newest-entry'], "%Y-%m-%d %H"), 
rawList
+    searchDate = datetime.datetime.strptime(rawList['newest-entry'], "%Y-%m-%d 
%H") - datetime.timedelta(days=2)
+    return searchDate, rawList
 
 
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to