LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Date And Time Issue (Redhat 8) (https://www.linuxquestions.org/questions/linux-software-2/date-and-time-issue-redhat-8-a-39909/)

zenix 12-31-2002 01:58 PM

Date And Time Issue (Redhat 8)
 
K, here's the basics of my problem...

I noticed that my date wasn't displaying porperly in certain applications. For example; in Evolution. In the summary screen is shows the correct date, but if you go to calendar or send a message it shows it as being one day prior.

So, my first thought was well let me check my date and time, right? I tried to run Redhat's config utillity (redhat-config-date), but it wouldn't run. When I ran it from the command line the last line before it exits gives this error: "AttributeError: 'NoneType' object has no attribute 'tz'" without the quotes.

After gettting that error I tried to configure the date and time using timeconfig. This work, but didn't fix my problem and I still can't run the redhat-config-date untillity. My hunch is that these problems are related. Any help will be greatly appreaciated.

Thanks in advance.

zenix 12-31-2002 03:41 PM

I just got it working. I'm sure you're right about the Redhat-config-date being a high level issue.

Anyway, this is how I got it working. First, I should say that running the date command prior to doing this DID display the correct information. Just for kicks I used timeconfig to reset my time zone, then I used the date command to reset my date and time.... after that apps are displaying properly. Redhat-config-time still doesn't work, but the apps display properly.

The really confusing part of this in the beggining was that when I ran date... it dispalyed properly, when I looked at my clock in KDE... it displayed proerply.

I guess it doens't matter now... it's working and that's what matters to me.

ikluft 01-04-2003 11:29 PM

In case it helps, a friend had problems running redhat-config-date with the same error. We edited /etc/sysconfig/clock and made sure the ZONE parameter corresponded to a valid path in /usr/share/zoneinfo.
For example, for US Pacific Time it would be
ZONE="America/Los_Angeles"

zenix 01-04-2003 11:35 PM

Thanks for the info. That's good to know.


All times are GMT -5. The time now is 01:27 AM.