You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by jc...@apache.org on 2021/08/26 16:08:08 UTC

[brooklyn-ui] branch master updated: Remove UTC conversion as now the log are using UTC too

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

jcabrerizo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b4246c  Remove UTC conversion as now the log are using UTC too
     new 17f52d6  Merge pull request #270 from jcabrerizo/fix/logbook/autoquery-using-utc
7b4246c is described below

commit 7b4246c01007da477d1761e74d9efd01e8ec57c0
Author: Juan Cabrerizo <ju...@cloudsoft.io>
AuthorDate: Thu Aug 26 16:06:03 2021 +0100

    Remove UTC conversion as now the log are using UTC too
---
 ui-modules/utils/logbook/logbook.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-modules/utils/logbook/logbook.js b/ui-modules/utils/logbook/logbook.js
index 18aa738..5a8f686 100644
--- a/ui-modules/utils/logbook/logbook.js
+++ b/ui-modules/utils/logbook/logbook.js
@@ -225,7 +225,7 @@ export function logbook() {
             let dateTimeFrom = getUtcTimestamp($scope.search.dateTimeFrom);
             let dateTimeTo = getUtcTimestamp($scope.search.dateTimeTo)
             if (isTail() && !isNewQueryParameters && !isEmpty($scope.logEntries)) {
-                dateTimeFrom = getUtcTimestamp(getLogEntryTimestamp($scope.logEntries.slice(-1)[0]))
+                dateTimeFrom = getLogEntryTimestamp($scope.logEntries.slice(-1)[0])
             }
 
             const levels = getCheckedBoxes($scope.search.logLevels);