time: Fix bug in ndn_toIsoString: Need to explicitly take the floor of the floating point seconds.
diff --git a/ndn-cpp/c/util/time.c b/ndn-cpp/c/util/time.c
index 5a74466..d1e2163 100644
--- a/ndn-cpp/c/util/time.c
+++ b/ndn-cpp/c/util/time.c
@@ -32,7 +32,7 @@
     // Don't expect this to happen.
     fraction = ".000000";
     
-  time_t seconds = secondsSince1970;
+  time_t seconds = (time_t)floor(secondsSince1970);
   struct tm* gmt = gmtime(&seconds);
   sprintf(isoString, "%04d%02d%02dT%02d%02d%02d%s", 1900 + gmt->tm_year, gmt->tm_mon + 1, gmt->tm_mday,
     gmt->tm_hour, gmt->tm_min, gmt->tm_sec, fraction);