[Libreoffice-commits] dev-tools.git: esc-reporting/esc-collect.py

jan Iversen jani at documentfoundation.org
Sat Dec 24 11:39:48 UTC 2016


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

New commits:
commit 136a2d65c494e6bcb477507e88f2d6493c94b12b
Author: jan Iversen <jani at 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
 
 
 


More information about the Libreoffice-commits mailing list