From 6b3b28f01f20bdaf829aacffe9c2260bd745367e Mon Sep 17 00:00:00 2001 From: Guido Fioravantti Date: Mon, 5 Oct 2015 14:56:45 +0200 Subject: [PATCH] Makes CDB_DateToNumber() tests more intuitive 2202 --- test/CDB_DateToNumberTest.sql | 4 ++-- test/CDB_DateToNumberTest_expect | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/CDB_DateToNumberTest.sql b/test/CDB_DateToNumberTest.sql index 3821bd1..0c1051c 100644 --- a/test/CDB_DateToNumberTest.sql +++ b/test/CDB_DateToNumberTest.sql @@ -1,2 +1,2 @@ -SELECT * FROM CDB_DateToNumber('1999-01-08 00:00:00+00'::timestamp); -SELECT * FROM CDB_DateToNumber('1999-01-08 00:00:00+00'::timestamp with time zone); +SELECT * FROM CDB_DateToNumber('1999-01-08 00:00:00'::timestamp); +SELECT * FROM CDB_DateToNumber('1999-01-08 00:00:00+05'::timestamp with time zone); diff --git a/test/CDB_DateToNumberTest_expect b/test/CDB_DateToNumberTest_expect index 8445360..bd3d3b0 100644 --- a/test/CDB_DateToNumberTest_expect +++ b/test/CDB_DateToNumberTest_expect @@ -1,2 +1,2 @@ 915753600 -915753600 +915735600