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

    r19932 r19938  
    244244        my $command = "$difftool -adddiffskyfile -diff_id $diff_id -uri $outputName -path_base $outroot";
    245245        $command .= $stats->cmdflags();
    246         $command .= (" -dtime_script " . (($mjd_start - DateTime->now->mjd) * 86400));
     246        $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400));
    247247        $command .= " -hostname $host" if defined $host;
    248248        $command .= " -dbname $dbname" if defined $dbname;
     
    267267    if (defined $diff_id and not $no_update) {
    268268        my $command = "$difftool -adddiffskyfile -diff_id $diff_id -code $exit_code";
    269         $command .= (" -dtime_script " . (($mjd_start - DateTime->now->mjd) * 86400));
     269        $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400));
    270270        $command .= " -hostname $host" if defined $host;
    271271        $command .= " -dbname $dbname" if defined $dbname;
Note: See TracChangeset for help on using the changeset viewer.