From 80f15ec39a2002d1d622c84ede30708043ab2fd6 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 17 Jan 2018 14:30:06 -0500 Subject: [PATCH] Bug 20008 - Restrictions added from memberentry.pl have expiration date ignored 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! --- members/memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index 13793e7..6c979a3 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -119,7 +119,7 @@ if ( $input->param('add_debarment') ) { $expiration = $expiration ? output_pref( - { 'dt' => dt_from_string($expiration), 'dateformat' => 'iso' } ) + { 'dt' => dt_from_string($expiration), 'dateformat' => 'iso', 'dateonly' => 1 } ) : undef; AddDebarment( -- 2.10.2