From b680bc6f93c56d9884ba0cea0d82642d2613dce8 Mon Sep 17 00:00:00 2001
From: Marcel Loose <loose@astron.nl>
Date: Mon, 4 Apr 2005 09:06:41 +0000
Subject: [PATCH] %[ER: 198]%

Ouch! Fixed stupid bug in test program. Taking the difference between local
time and UTC *is* time dependent, due to daylight saving time :-(
---
 LCS/CRD/Coord/test/tCoordClient.cc            | 2 +-
 LCS/CRD/CoordServer/test/lofarcoordserver.out | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/LCS/CRD/Coord/test/tCoordClient.cc b/LCS/CRD/Coord/test/tCoordClient.cc
index 47efcde9cb4..b2204a161ce 100644
--- a/LCS/CRD/Coord/test/tCoordClient.cc
+++ b/LCS/CRD/Coord/test/tCoordClient.cc
@@ -43,7 +43,6 @@ int main (int argc, const char* argv[])
     ASSERT (pos.height() == 3);
     cout << pos << endl;
     EarthCoord dwl(0.111646531, 0.921760253, 25);
-    cout << TimeCoord::getUTCDiff() << endl;
     TimeCoord time(10.5);
     ASSERT (time.mjd() == 10.5);
     TimeCoord someTime(2004, 11, 19, 15, 22);
@@ -52,6 +51,7 @@ int main (int argc, const char* argv[])
     TimeCoord someTime2 (someTime.mjd(), 1./24);
     cout << someTime2 << endl;
     TimeCoord someTime3 (someTime.mjd(), 1.);
+    cout << someTime3 << endl;
 
     // Only make a connection if an argument is given.
     if (argc < 2) {
diff --git a/LCS/CRD/CoordServer/test/lofarcoordserver.out b/LCS/CRD/CoordServer/test/lofarcoordserver.out
index cf57dd672da..06534487a28 100644
--- a/LCS/CRD/CoordServer/test/lofarcoordserver.out
+++ b/LCS/CRD/CoordServer/test/lofarcoordserver.out
@@ -1,9 +1,9 @@
 [1, 0.4]
 [0.2, 1, 3]
-3600
 53328.6
 2004/11/19/15:21:60
 2004/11/19/16:21:60
+2004/11/20/15:21:60
 lofar17 31337
 [0.903529, 0.0197435]
 [1, 0.4]
-- 
GitLab