LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-10-2017, 10:12 AM   #1
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Rep: Reputation: Disabled
Thunderbird time is wrong; System time is correct.


I switched to Slackware about a month ago. I have been using Linux since 2001, so whenever I switch distros I bring my files in ~ with me and extract them into the new system. This is handy because then I only have to find the programs that I used on the old distro and make sure they are installed.

My wife and I communicate through email while she is at work. She sends me an email when she's leaving work, so I can prepare for her arrival at home. She sends this email at ~11:00pm. I often don't actually read the email until the following day. I'm looking at her 'leaving' email right now. The timestamp on it is 04:55 TODAY. The system clock says at this moment 10:24, which I believe to be correct. I am using thunderbird-45.6.0 on Slackware64 14.2 if that matters. Is there a file I can edit/delete somewhere to fix this issue. It's not really a problem at this point - just more of an annoyance, still I'd like it remedied.
 
Old 01-10-2017, 11:05 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Can you post the output of date +%z and confirm that this is your actual timezone?

Can you also get your wife to send an email and for you to look at it on any other device/application combination than Thunderbird on your current device (e.g. with a web client), and confirm that the problem doesn't occur there?
 
Old 01-10-2017, 11:40 AM   #3
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
michael@caitlyn ~ $ date +%z
+0000

I am in Central Time Zone, which I believe is GMT+6. It gets kind of wonky with Daylight Savings time, so I'm not sure, but either way, the above output doesn't look correct to me. How do I fix it in Slackware?
 
Old 01-10-2017, 11:46 AM   #4
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
hydrurga, I don't know if it matters, but in the gmail web interface, my wife's leaving work email is dated 4:55 this morning. She's not at work right now so she can't send me an email from there at this moment.
 
Old 01-10-2017, 11:47 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by maschelsea View Post
michael@caitlyn ~ $ date +%z
+0000

I am in Central Time Zone, which I believe is GMT+6. It gets kind of wonky with Daylight Savings time, so I'm not sure, but either way, the above output doesn't look correct to me. How do I fix it in Slackware?
Central Standard Time is GMT-6.

Not being a Slackman myself, I have no idea how it is changed for that distro, but hopefully someone will be along to tell you how. If not, see http://www.thegeekstuff.com/2010/09/...zone-in-linux/ for two possibilities.
 
Old 01-10-2017, 11:55 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by maschelsea View Post
hydrurga, I don't know if it matters, but in the gmail web interface, my wife's leaving work email is dated 4:55 this morning. She's not at work right now so she can't send me an email from there at this moment.
That might indicate that you have two problems, the first that your timezone is incorrect on your Linux box, the second that the email system that your wife uses has an incorrect time or timezone set up (for the latter, check the email header which has details of the sender's time and timezone in the Date field).
 
Old 01-10-2017, 03:25 PM   #7
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
OK. I copied CST6CDT to /etc/localtime using my su - shell tab. Now it seems to be working correctly. On my old distro, we manually created a symbolic link from /usr/share/zoneinfo/CST6CDT to /etc/localtime. I'm not sure if there's really a difference between Slack's way of copying the file and what I used to do, but I copied the file this time.
 
Old 01-11-2017, 01:58 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by maschelsea View Post
OK. I copied CST6CDT to /etc/localtime using my su - shell tab. Now it seems to be working correctly. On my old distro, we manually created a symbolic link from /usr/share/zoneinfo/CST6CDT to /etc/localtime. I'm not sure if there's really a difference between Slack's way of copying the file and what I used to do, but I copied the file this time.
Ok. Have you examined the DATE field on one of your wife's email headers (open the message in Thunderbird, then it should be View->Headers->All) to see which time and timezone are being registered in the email by her email system?
 
  


Reply



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
syslog time wrong - but date returns the correct time? falc410 Linux - Newbie 7 04-05-2020 10:04 PM
[SOLVED] Weird time changes, correct time and date but wrong hour metaschima Slackware 24 08-03-2014 01:14 PM
[SOLVED] System Time Getting not correct getting slower flatstan Linux - Hardware 20 10-27-2009 12:30 AM
System time correct for root, wrong for normal user? dx0r515t Slackware 2 07-21-2006 05:30 PM
Setting System Time: kernel in wrong time zone warrenweiss Linux - General 7 05-15-2004 03:25 PM

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

All times are GMT -5. The time now is 06:29 AM.

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
Open Source Consulting | Domain Registration