projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. Crossed fingers, got rid of the instabilities caused by execing programs
[spider.git]
/
perl
/
DXUtil.pm
diff --git
a/perl/DXUtil.pm
b/perl/DXUtil.pm
index 5c6c51af3a5a556100a6a62c4c6293d7cfcde68a..994cdd981a735c4753aeedbedac8c46d08b1ea82 100644
(file)
--- a/
perl/DXUtil.pm
+++ b/
perl/DXUtil.pm
@@
-46,7
+46,7
@@
sub cldate
my $t = shift;
my ($sec,$min,$hour,$mday,$mon,$year) = gmtime((defined $t) ? $t : time);
$year += 1900;
my $t = shift;
my ($sec,$min,$hour,$mday,$mon,$year) = gmtime((defined $t) ? $t : time);
$year += 1900;
- my $buf = sprintf "%
0
2d-%s-%04d", $mday, $month[$mon], $year;
+ my $buf = sprintf "%2d-%s-%04d", $mday, $month[$mon], $year;
return $buf;
}
return $buf;
}