https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27048 --- Comment #3 from David Cook <dcook@prosentient.com.au> --- Comment on attachment 113780 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113780 Bug 27048: Add basic timekeeping to rebuild_zebra Review of attachment 113780: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=27048&attachment=113780) ----------------------------------------------------------------- ::: misc/migration_tools/rebuild_zebra.pl @@ +848,5 @@
+ my $now_pretty = POSIX::strftime("%H:%M:%S",localtime($now)); + my $elapsed_pretty = $d ? "[$d:$h:$m:$s]" : $h ? "[$h:$m:$s]" : $m ? "[$m:$s]" : "[$s]"; + + return "$now_pretty $elapsed_pretty"; +}
Why not just use DateTime->now()->strftime("%H:%M:%S")? -- You are receiving this mail because: You are watching all bug changes.