IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30686


Ignore:
Timestamp:
Feb 18, 2011, 12:00:40 AM (15 years ago)
Author:
watersc1
Message:

gmtime, not localtime is the correct way to auto-set the date.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/regpeek.pl

    r30651 r30686  
    1313my $date = shift(@ARGV);
    1414unless(defined($date)) {
    15     my @time = localtime;
     15    my @time = gmtime;
    1616    $date = sprintf("%4d-%02d-%02d",$time[5] + 1900,$time[4] + 1,$time[3]);
    1717}
Note: See TracChangeset for help on using the changeset viewer.