Skip to content

Commit

Permalink
timestamp should be in unix time (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
yprikhodko authored Jan 16, 2023
1 parent 95c6aa4 commit 89f817c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cid/builtin/core/data/queries/tao/ta_org_view.sql
Original file line number Diff line number Diff line change
Expand Up @@ -243,5 +243,5 @@ SELECT DISTINCT
FROM
"ta_organizational_view_reports"
WHERE
(("from_unixtime"(CAST("timestamp" AS decimal)) > (current_date - INTERVAL '3' MONTH)))
"timestamp" not like '%Z%' AND (("from_unixtime"(CAST("timestamp" AS decimal)) > (current_date - INTERVAL '3' MONTH)))
AND (status IS NULL OR status not in ('ok', 'Green') OR checkid IN ('Wxdfp4B1L1', 'Wxdfp4B1L2', 'Wxdfp4B1L3', 'Wxdfp4B1L4'))

0 comments on commit 89f817c

Please sign in to comment.