You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2019/06/10 20:09:02 UTC

[kibble] branch master updated: ES 7.x doesn't like 0:0:0, prefers full value

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git


The following commit(s) were added to refs/heads/master by this push:
     new 6febe64  ES 7.x doesn't like 0:0:0, prefers full value
6febe64 is described below

commit 6febe6458510ba89ed7693d0ac00a8047c2e626f
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Jun 10 22:08:49 2019 +0200

    ES 7.x doesn't like 0:0:0, prefers full value
---
 api/pages/mail/timeseries.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/pages/mail/timeseries.py b/api/pages/mail/timeseries.py
index 75eb419..7b446f4 100644
--- a/api/pages/mail/timeseries.py
+++ b/api/pages/mail/timeseries.py
@@ -109,7 +109,7 @@ def run(API, environ, indata, session):
                             {'range':
                                 {
                                     'date': {
-                                        'from': time.strftime("%Y/%m/%d 0:0:0", time.gmtime(dateFrom)),
+                                        'from': time.strftime("%Y/%m/%d 00:00:00", time.gmtime(dateFrom)),
                                         'to': time.strftime("%Y/%m/%d 23:59:59", time.gmtime(dateTo))
                                     }
                                 }