Index: /trunk/BNC/bncutils.cpp
===================================================================
--- /trunk/BNC/bncutils.cpp	(revision 1835)
+++ /trunk/BNC/bncutils.cpp	(revision 1836)
@@ -97,10 +97,6 @@
   else {
     currDateTime = QDateTime::currentDateTime().toUTC();
-    if (currDateTime.date().year() >= 2009) {
-      leapsecond = 15;
-    }
-    else {
-      leapsecond = 14;
-    }
+    QDate date = currDateTime.date();
+    leapsecond = gnumleap(date.year(), date.month(), date.day());
   }
 
