diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index d8fb80429..94137b5eb 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,6 +1,7 @@ 7.6.0 - rfe: Town Hall: Menu title in search results - rfe: Process Macros in HTTP Proxy's URL + - rfe: TimeZone for the User Profiles displays incorrectly after installation - rewrite macro parser, improving speed and making parameter parsing more sane - Made the charset metatag the highest thing in the head block. - fixed: AssetProxy allows proxying content in the trash or clipboard diff --git a/lib/WebGUI/Content/Setup.pm b/lib/WebGUI/Content/Setup.pm index 447f39022..ff277c295 100644 --- a/lib/WebGUI/Content/Setup.pm +++ b/lib/WebGUI/Content/Setup.pm @@ -122,7 +122,10 @@ sub handler { my $u = WebGUI::User->new($session,"3"); $u->username($session->form->process("username","text","Admin")); $u->profileField("email",$session->form->email("email")); + $u->profileField("timeZone",$session->form->timeZone("timeZone")); $u->identifier(Digest::MD5::md5_base64($session->form->process("identifier","password","123qwe"))); + $u = WebGUI::User->new($session,"1"); + $u->profileField("timeZone",$session->form->timeZone("timeZone")); my $f = WebGUI::HTMLForm->new($session,action=>$session->url->gateway()); $f->hidden( name=>"step", value=>"3"); $f->text( @@ -501,6 +504,11 @@ a:visited { color: '.$form->get("visitedLinkColor").'; } -label=>$i18n->get(56), -hoverHelp=>$i18n->get('56 description'), ); + $f->timeZone( + -name=>"timeZone", + -value=>$u->profileField("timeZone"), + -label=>$i18n->get('timezone','DateTime'), + ); $f->submit; $output .= $f->print; }