Re: Migrating Bugzilla between different time zones - problem

glauber ribeiro <[email protected]>
Newsgroups gmane.comp.mozilla.devel.webtools
Message-ID <[email protected]>
On Thursday, October 1, 2020 at 3:02:09 PM UTC-5, glauber ribeiro wrote:
> On Thursday, October 1, 2020 at 1:41:52 PM UTC-5, Thorsten Schöning wrote: 
> 
> > > sub local_timezone { 
> > > return $_[0]->process_cache->{local_timezone} 
> > > ||= DateTime::TimeZone->new(name => 'local'); 
> > > }
> So, i'm assuming that process_cache->{local_timezone} simply looks up to see if there is a value cached. In that case, the perl call to DateTime::TimeZone should be really what determines the local timezone.
> > But for some reason what DateTime does might differ? What does your 
> > OS-tools say about the time zone, regardless of Perl? Something like 
> > "dpkg-reconfigure tzdata" or whatever you need to do.
> In RedHat, i believe you just set this symlink: 
> 
> $ ls -l /etc/localtime 
> lrwxrwxrwx. 1 root root 25 Jul 23 2019 /etc/localtime -> ../usr/share/zoneinfo/UTC 


One of the options for time zone in the user preferences in Bugzilla is "same as server". If i pick that, it sets it to UTC. So i don't know what "Site Default" is supposed to mean.

And tomorrow i'm going to lasso one of our DBAs to try to understand why changing the session time_zone has no effect on selecting a timestamp, despite documentation.

g
_______________________________________________
support-bugzilla mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [email protected] in the To: field when you reply.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.