Project

General

Profile

Actions

Bug #6414

closed

Timeline pre-generated time bounds are not respected

Added by Radko Krkoš almost 4 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
Development - Core
Target version:
Start date:
07/07/2020
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

The timeline form is loaded with a pre-defined time interval bounds, based on current hour. These bounds are then not used and the results are given for a superinterval since midnight before lower bound until midnight after upper bound.

Example:
Detection time from: 2020-06-30 15:00:00
Detection time to: 2020-07-07 15:00:00

Actual query:

SELECT generate_series('2020-06-30T00:00:00'::timestamp, '2020-07-08T00:00:00'::timestamp, '0 days 3600.000000 seconds'::interval) AS bucket ORDER BY bucket

The results match the time interval in the query, so the bounds as shown in the form are not respected.

Actions

Also available in: Atom PDF