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 <[email protected]>
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);

Reply via email to