Bugzilla – Attachment 71405 Details for
Bug 20008
Restrictions added from memberentry.pl have expiration date ignored if TimeFormat is 12hr
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20008: Fix restrictions added from memberentry.pl if TimeFormat is 12hr
Bug-20008-Fix-restrictions-added-from-memberentryp.patch (text/plain), 1.17 KB, created by
Katrin Fischer
on 2018-02-11 15:38:14 UTC
(
hide
)
Description:
Bug 20008: Fix restrictions added from memberentry.pl if TimeFormat is 12hr
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-02-11 15:38:14 UTC
Size:
1.17 KB
patch
obsolete
>From 425de73efeeafb95627a6509382b0677d7d4def2 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatetsolutions.com> >Date: Wed, 17 Jan 2018 14:30:06 -0500 >Subject: [PATCH] Bug 20008: Fix restrictions added from memberentry.pl if > TimeFormat is 12hr > >Test Plan: >1) Set TimeFormat to 12 hour >2) Add a restriction with an expiration date via memberentry.pl >3) Note the restriction exists, but has no expiration date >4) Apply this patch >5) Repeat step 2 >6) Note the restriction exists and has an expiration date! > >Signed-off-by: Roch D'Amour <roch.damour@inlibro.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > members/memberentry.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 38ffa6c..02a7254 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -117,8 +117,7 @@ if ( $input->param('add_debarment') ) { > my $expiration = $input->param('debarred_expiration'); > $expiration = > $expiration >- ? output_pref( >- { 'dt' => dt_from_string($expiration), 'dateformat' => 'iso' } ) >+ ? dt_from_string($expiration)->ymd > : undef; > > AddDebarment( >-- >2.1.4
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 20008
:
70635
|
70636
|
71401
| 71405