From: Hades DAQ Date: Tue, 24 Apr 2018 21:47:47 +0000 (+0200) Subject: added month-day to log, mt X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=1034d3c3590dcd453cf808f117c5e32e960ad704;p=hadesdaq.git added month-day to log, mt --- diff --git a/utils/chat_push b/utils/chat_push index 440afb2..365033e 100755 --- a/utils/chat_push +++ b/utils/chat_push @@ -57,7 +57,7 @@ while ( defined (my $input = $term->readline($prompt)) ) { chomp; my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); - $outstr = sprintf "%2.2d:%2.2d:%2.2d: %s", $hour, $min, $sec , $_; + $outstr = sprintf "%2.2d-%2.2d %2.2d:%2.2d:%2.2d: %s", $mon+1, $mday, $hour, $min, $sec , $_; $ln++; my $pr = print $fh_out $outstr . "\n";