added new debugging to daily file logging
[spider.git] / perl / Spot.pm
index 82bbc7ddb0dfa76408fffc07940724c439428457..dca646884b730b499e07d357efb5096df568c894 100644 (file)
@@ -57,8 +57,7 @@ sub add
 
   # compare dates to see whether need to open another save file (remember, redefining $fp 
   # automagically closes the output file (if any)). 
-  my @date = Julian::unixtoj($spot[2]);
-  $fp->write(@date, $buf);
+  $fp->writeunix($spot[2], $buf);
   
   return $buf;
 }