Bugzilla – Attachment 101207 Details for
Bug 24696
We should output completion times in the updatedatabase output.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24696: Use strftime
Bug-24696-Use-strftime.patch (text/plain), 1.10 KB, created by
Kyle M Hall (khall)
on 2020-03-20 14:59:50 UTC
(
hide
)
Description:
Bug 24696: Use strftime
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-03-20 14:59:50 UTC
Size:
1.10 KB
patch
obsolete
>From 1a50e6ec340783b412a9621d215b191584913ebc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 24 Feb 2020 15:17:56 +0100 >Subject: [PATCH] Bug 24696: Use strftime > >Seems easier to me. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/updatedatabase.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index d7d900aea8..f18e6f8d59 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -21257,8 +21257,7 @@ sub NewVersion { > $descriptions = [ $descriptions ]; > } > my $first = 1; >- my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); >- my $time = sprintf ( "%02d:%02d:%02d", $hour,$min,$sec); >+ my $time = POSIX::strftime("%H:%M:%S",localtime); > for my $description ( @$descriptions ) { > if ( @$descriptions > 1 ) { > if ( $first ) { >-- >2.21.1 (Apple Git-122.3)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24696
:
99318
|
99525
|
99529
|
99736
|
99737
|
100540
|
100541
|
101206
| 101207