LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-31-2002, 01:58 PM   #1
zenix
LQ Newbie
 
Registered: Dec 2002
Location: Portland, OR
Distribution: CentOS
Posts: 23

Rep: Reputation: 15
Question 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.
 
Old 12-31-2002, 03:41 PM   #2
zenix
LQ Newbie
 
Registered: Dec 2002
Location: Portland, OR
Distribution: CentOS
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 01-04-2003, 11:29 PM   #3
ikluft
LQ Newbie
 
Registered: Dec 2002
Location: Silicon Valley, California
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
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"
 
Old 01-04-2003, 11:35 PM   #4
zenix
LQ Newbie
 
Registered: Dec 2002
Location: Portland, OR
Distribution: CentOS
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for the info. That's good to know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vmware Date/Time Issue moneyshotz Linux - Software 7 11-12-2007 12:28 PM
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM
Date issue marsques Linux - General 2 08-21-2005 10:17 AM
date/time in c++ 1337 Twinkie Programming 3 01-01-2005 12:23 AM
Display the date and time from another time zone lothario Linux - Software 4 07-31-2004 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration