in reply to Re: User settings/timezone
in thread User settings/timezone
<speculation>
Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;
I am guessing that the form shows "UTC+0" after you submit because of CGI.pm's sticky variables.</speculation>
As to why it's not going into the database, perhaps there is a chunk of code that looks like:the value for UTC+0 is the only one that would evalaute as false.if ($USER->{timezone} != CGI::param('settimezone') && CGI::param('sett +imezone')) { # change user setting }
Of course, this is just a guess wihout seeing the code. I'm not sure but I don't think that the timezone setting is in Everything core. I think it's a perlmonks add-on.
Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;
In Section
Perl Monks Discussion