https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27048
--- Comment #3 from David Cook <[email protected]> --- 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. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
