IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2008, 4:11:11 PM (18 years ago)
Author:
Paul Price
Message:

Let's do the time warp again!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/chip_imfile.pl

    r19932 r19938  
    237237    $command .= " -dbname $dbname" if defined $dbname;
    238238    $command .= $stats->cmdflags();
    239     $command .= (" -dtime_script " . (($mjd_start - DateTime->now->mjd) * 86400));
     239    $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400));
    240240} else {
    241241    $command = "$chiptool -tofullimfile";
     
    276276            $command .= " -path_base $outroot";
    277277            $command .= " -hostname $host" if defined $host;
    278             $command .= (" -dtime_script " . (($mjd_start - DateTime->now->mjd) * 86400));
     278            $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400));
    279279        } else {
    280280            $command .= "$chiptool -updateprocessedimfile";
Note: See TracChangeset for help on using the changeset viewer.