Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: User settings/timezone

by $code or die (Deacon)
on Oct 30, 2001 at 16:58 UTC ( #122072=note: print w/replies, xml ) Need Help??


in reply to Re: User settings/timezone
in thread User settings/timezone

<speculation>
I am guessing that the form shows "UTC+0" after you submit because of CGI.pm's sticky variables.

As to why it's not going into the database, perhaps there is a chunk of code that looks like:
if ($USER->{timezone} != CGI::param('settimezone') && CGI::param('sett +imezone')) { # change user setting }
the value for UTC+0 is the only one that would evalaute as false.

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.
</speculation>

Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://122072]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2021-10-27 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (94 votes). Check out past polls.

    Notices?