[CentOS] Where is timezone string stored?

Thu Dec 27 21:27:02 UTC 2012
yonatan pingle <yonatan.pingle at gmail.com>

On Thu, Dec 27, 2012 at 11:08 PM, Robert Moskowitz <rgm at htt-consult.com>wrote:

>
> On 12/27/2012 03:26 PM, Reindl Harald wrote:
> > Am 27.12.2012 21:17, schrieb Robert Moskowitz:
> >> I am having problems with RoundCube:
> >>
> >> 'Your session is invalid or expired'
> >>
> >> So I went looking for logs and in /var/log/roundcube/errors I find LOTS
> >> of warnings about problems with my timezone.  Kind of a challenge to
> >> copy the log entries over here (will do if needed).
> >>
> >> Anyway, for right now I am looking as to where my 'Detroit
> >> American/New_York' (what I am seeing in Gnomes calendar preferences)
> >> string is stored.
> >>
> >> Roundcube seems to want 'America/New_York'?
> >>
> >> Shouldn't I be seeing 'America/Detroit' when I look at the calendar
> >> selection in Gnome?
> > https://www.google.com/search?q=php+timezone
> >
> > php.ini:
> > date.timezone = "your-timezone"
>
> Not the place where Centos is storing timezone.  Or perhaps this is
> where RoundCube is expecting it?  This file is at its default content.
> It is timestamped Jul 3.
>
> And /etc/localtime is a binary file.  A little digging and it SEEMS that
> files are copied to /etc/localtime from /usr/share/zonetime ?
>
> But I can't figure out what RoundCube is doing.  Probably will have to
> go and join that list...
>
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


The timezone in PHP should be configured according to your needs manually.
RoundCube is looking at /etc/php.ini , if you have installed php from yum
on centos



-- 
Best Regards,
Yonatan Pingle
RHCT | RHCSA | CCNA1