From 1034d3c3590dcd453cf808f117c5e32e960ad704 Mon Sep 17 00:00:00 2001 From: Hades DAQ Date: Tue, 24 Apr 2018 23:47:47 +0200 Subject: [PATCH] added month-day to log, mt --- utils/chat_push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.43.0