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/fake_imfile.pl

    r19932 r19938  
    197197$command .= " -path_base $outroot";
    198198$command .= " -dbname $dbname" if defined $dbname;
    199 $command .= (" -dtime_script " . (($mjd_start - DateTime->now->mjd) * 86400));
     199$command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400));
    200200# XXX add this after defined
    201201# $command .= $stats->cmdflags();
     
    229229        $command .= " -class_id $class_id";
    230230        $command .= " -path_base $outroot";
    231         $command .= (" -dtime_script " . (($mjd_start - DateTime->now->mjd) * 86400));
     231        $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400));
    232232        $command .= " -code $exit_code";
    233233        $command .= " -dbname $dbname" if defined $dbname;
Note: See TracChangeset for help on using the changeset viewer.