postgres: tests: adjusted the timestamps to be in UTC (#80704)

pull/80712/head
Gábor Farkas 1 year ago committed by GitHub
parent 76812240a8
commit 58b13fed5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      pkg/tsdb/grafana-postgresql-datasource/testdata/table/timestamp_convert_bigint.golden.jsonc
  2. 2
      pkg/tsdb/grafana-postgresql-datasource/testdata/table/timestamp_convert_integer.golden.jsonc
  3. 14
      pkg/tsdb/grafana-postgresql-datasource/testdata/time_series/fill_null.golden.jsonc
  4. 14
      pkg/tsdb/grafana-postgresql-datasource/testdata/time_series/fill_previous.golden.jsonc
  5. 14
      pkg/tsdb/grafana-postgresql-datasource/testdata/time_series/fill_value.golden.jsonc

@ -14,9 +14,9 @@
// | Labels: | Labels: | Labels: | Labels: |
// | Type: []*time.Time | Type: []*time.Time | Type: []*int64 | Type: []*time.Time |
// +--------------------------------------+-----------------------------------+---------------------+-----------------------------------+
// | 2023-12-24 14:21:27 +0000 UTC | 2023-12-21 13:21:27 +0100 CET | 1703161287 | 2023-12-21 13:21:52 +0100 CET |
// | 2023-12-24 14:21:27.724 +0000 UTC | 2023-12-21 13:21:27.724 +0100 CET | 1703161287724 | 2023-12-21 13:21:52.522 +0100 CET |
// | 2023-12-24 14:21:27.724919 +0000 UTC | 2023-12-21 13:21:27.724 +0100 CET | 1703161287724919000 | 2023-12-21 13:21:52.522 +0100 CET |
// | 2023-12-24 14:21:27 +0000 UTC | 2023-12-21 12:21:27 +0000 UTC | 1703161287 | 2023-12-21 12:21:52 +0000 UTC |
// | 2023-12-24 14:21:27.724 +0000 UTC | 2023-12-21 12:21:27.724 +0000 UTC | 1703161287724 | 2023-12-21 12:21:52.522 +0000 UTC |
// | 2023-12-24 14:21:27.724919 +0000 UTC | 2023-12-21 12:21:27.724 +0000 UTC | 1703161287724919000 | 2023-12-21 12:21:52.522 +0000 UTC |
// | null | null | null | null |
// +--------------------------------------+-----------------------------------+---------------------+-----------------------------------+
//

@ -14,7 +14,7 @@
// | Labels: | Labels: | Labels: | Labels: |
// | Type: []*time.Time | Type: []*time.Time | Type: []*int32 | Type: []*time.Time |
// +-------------------------------+-------------------------------+----------------+-------------------------------+
// | 2023-12-24 14:21:27 +0000 UTC | 2023-12-21 13:21:27 +0100 CET | 1703161287 | 2023-12-21 13:21:52 +0100 CET |
// | 2023-12-24 14:21:27 +0000 UTC | 2023-12-21 12:21:27 +0000 UTC | 1703161287 | 2023-12-21 12:21:52 +0000 UTC |
// | null | null | null | null |
// +-------------------------------+-------------------------------+----------------+-------------------------------+
//

@ -15,13 +15,13 @@
// | Labels: | Labels: c=a | Labels: c=b |
// | Type: []time.Time | Type: []*float64 | Type: []*float64 |
// +-------------------------------+------------------+------------------+
// | 2023-12-24 15:15:00 +0100 CET | null | null |
// | 2023-12-24 15:20:00 +0100 CET | 15 | 115 |
// | 2023-12-24 15:25:00 +0100 CET | null | null |
// | 2023-12-24 15:30:00 +0100 CET | null | null |
// | 2023-12-24 15:35:00 +0100 CET | 50 | 150 |
// | 2023-12-24 15:40:00 +0100 CET | null | null |
// | 2023-12-24 15:45:00 +0100 CET | null | null |
// | 2023-12-24 14:15:00 +0000 UTC | null | null |
// | 2023-12-24 14:20:00 +0000 UTC | 15 | 115 |
// | 2023-12-24 14:25:00 +0000 UTC | null | null |
// | 2023-12-24 14:30:00 +0000 UTC | null | null |
// | 2023-12-24 14:35:00 +0000 UTC | 50 | 150 |
// | 2023-12-24 14:40:00 +0000 UTC | null | null |
// | 2023-12-24 14:45:00 +0000 UTC | null | null |
// +-------------------------------+------------------+------------------+
//
//

@ -15,13 +15,13 @@
// | Labels: | Labels: c=a | Labels: c=b |
// | Type: []time.Time | Type: []*float64 | Type: []*float64 |
// +-------------------------------+------------------+------------------+
// | 2023-12-24 15:15:00 +0100 CET | null | null |
// | 2023-12-24 15:20:00 +0100 CET | 15 | 115 |
// | 2023-12-24 15:25:00 +0100 CET | 15 | 115 |
// | 2023-12-24 15:30:00 +0100 CET | 15 | 115 |
// | 2023-12-24 15:35:00 +0100 CET | 50 | 150 |
// | 2023-12-24 15:40:00 +0100 CET | 50 | 150 |
// | 2023-12-24 15:45:00 +0100 CET | 50 | 150 |
// | 2023-12-24 14:15:00 +0000 UTC | null | null |
// | 2023-12-24 14:20:00 +0000 UTC | 15 | 115 |
// | 2023-12-24 14:25:00 +0000 UTC | 15 | 115 |
// | 2023-12-24 14:30:00 +0000 UTC | 15 | 115 |
// | 2023-12-24 14:35:00 +0000 UTC | 50 | 150 |
// | 2023-12-24 14:40:00 +0000 UTC | 50 | 150 |
// | 2023-12-24 14:45:00 +0000 UTC | 50 | 150 |
// +-------------------------------+------------------+------------------+
//
//

@ -15,13 +15,13 @@
// | Labels: | Labels: c=a | Labels: c=b |
// | Type: []time.Time | Type: []*float64 | Type: []*float64 |
// +-------------------------------+------------------+------------------+
// | 2023-12-24 15:15:00 +0100 CET | 27 | 27 |
// | 2023-12-24 15:20:00 +0100 CET | 15 | 115 |
// | 2023-12-24 15:25:00 +0100 CET | 27 | 27 |
// | 2023-12-24 15:30:00 +0100 CET | 27 | 27 |
// | 2023-12-24 15:35:00 +0100 CET | 50 | 150 |
// | 2023-12-24 15:40:00 +0100 CET | 27 | 27 |
// | 2023-12-24 15:45:00 +0100 CET | 27 | 27 |
// | 2023-12-24 14:15:00 +0000 UTC | 27 | 27 |
// | 2023-12-24 14:20:00 +0000 UTC | 15 | 115 |
// | 2023-12-24 14:25:00 +0000 UTC | 27 | 27 |
// | 2023-12-24 14:30:00 +0000 UTC | 27 | 27 |
// | 2023-12-24 14:35:00 +0000 UTC | 50 | 150 |
// | 2023-12-24 14:40:00 +0000 UTC | 27 | 27 |
// | 2023-12-24 14:45:00 +0000 UTC | 27 | 27 |
// +-------------------------------+------------------+------------------+
//
//

Loading…
Cancel
Save