From 0aaaa1cbeda2ec54c9f0565a7cf907741274e3d3 Mon Sep 17 00:00:00 2001 From: wolfpac444 Date: Sun, 16 Mar 2003 07:39:27 +0000 Subject: [PATCH] Fixed Bug #196 by using Date::Manip to put the date in the correct format. --- memberentry.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/memberentry.pl b/memberentry.pl index 0b30881db8..5624b9aee1 100755 --- a/memberentry.pl +++ b/memberentry.pl @@ -174,6 +174,11 @@ if ($delete){ $template->param( modify => 1 ); } + #Convert dateofbirth to correct format + $data->{'dateofbirth'}=ParseDate($data->{'dateofbirth'}); + $data->{'dateofbirth'}=UnixDate($data->{'dateofbirth'},'%d/%m/%Y'); + + $template->param( member => $member, firstname => $data->{'firstname'}, -- 2.39.5