LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 06-07-2006, 03:07 AM   #1
jadukor
Member
 
Registered: Nov 2005
Location: Bangladesh
Distribution: openSUSE
Posts: 83

Rep: Reputation: 15
Thunderbird date-format problem


Hi all

I am newbie running Slackware10.2 with KDE desktop. I have long since
upgraded to "mozilla-thunderbird-1.5-i686-1jim" which I downloaded from
<linuxpackges.net>

I want to change the date format of thunderbird to the default format
that I have configured for KDE (SHORTWEEKDAY-DD-SHORTMONTH-YY). My dates
show up as Tue-07-Jun-06. Basically I get confused between date & month
so I at lest like to keep one of them in words.

I did a bit of searching & found this site

kb.mozillazine.org/Date_display_format

My first question is why did all the pages that I came across, referred
to this (user.js) file? I did not find any such file, but I did find
something called "prefs.js" /in/my/home/.thunderbird which seems to have
the same function.

So I added a line to the file (prefs.js) as per the instruction on
the page

user_pref("mail.ui.display.dateformat.default", 1);

it was supposed to show me time like this

Friday, December 31 2003 10:23 AM

but unfortunately it had no effect!! the date format remained as it was
before (06/07/2006 12:30 PM).

Then I installed this (configdate-0.3.6-tb.xpi) extension, which (as I
realized later) just automates the above mentioned process; and it also
had no effect (no surprise there I guess).

My dates (in thunderbird) keep showing as 06/07/2006 12:30 PM

I did check the /patch section for Slackware10.2 at <slackware.com> & it
had mozilla-thunderbird-1.0.7
Could it be possible that thunderbird-1.5 is not compatible with
Slackware10.2 ?? or am I doing something wrong??

Oh! I am also using a custom compiled 2.6.13 kernel & my Location is KDE
is Bangladesh... could that have anything to with this all??

Thanks
Emon
 
Old 06-07-2006, 03:58 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
There is no issue with compatibility between TB and Slackware - TB obviously runs, from your description, so there isn't a compatibility issue from that point of view.

It could be that the preference you mention (mail.ui.display.dateformat.default) is not supported (or no longer supported) in TB 1.5. Have you tried it in 1.0.7 to see if it works in that?

Regards
David Gee
 
Old 06-29-2006, 11:54 PM   #3
noranthon
Member
 
Registered: Apr 2006
Location: Australia
Distribution: PCLinuxOS with Xfce
Posts: 301

Rep: Reputation: 30
You have to create the file user.js

Detailed instructions here:
http://kb.mozillazine.org/User.js_file
 
Old 11-23-2006, 08:24 AM   #4
wiweb
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
Wink

Hello,

After hours of search, I succeed to have the date format YYYY-MM-DD (also called ISO format) correctly displayed in Mozilla Thunderbird (version 1.0.2 (20060830)) with KDE (release 3.3.2) on a Debian distribution (3.1r3) on an Intel PC.

It's a bit dirty, but it works!

I launch Thunderbird with:

<< export LC_ALL="";export LC_TIME="en_DK.utf8";/usr/bin/mozilla-thunderbird >>

The following locales are installed on my PC, but I think only en_DK.utf8 is needed in this case:

user@myhost $ locale -a
C
en_DK.utf8
en_US.iso885915
fr_BE@euro
fr_BE.iso885915@euro
POSIX

Note: this works with Firefox too! (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20060902 Firefox/1.0.4 (Debian package 1.0.4-2 sarge11))

<< export LC_ALL="";export LC_TIME="en_DK.utf8";/usr/bin/firefox >>

written on 2006-11-23
 
Old 11-23-2006, 10:58 AM   #5
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,211

Rep: Reputation: 56
No need for such complication.

Just add

Quote:
export LANG=en_GB
export LC_TIME=en_GB
to /etc/profiles.h/lang.sh


Alan

Last edited by arubin; 11-23-2006 at 11:00 AM.
 
Old 05-07-2008, 03:03 PM   #6
ek2
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Hi!

I ran into the same thing, but LC_ALL was set correctly when I checked in a console (do echo $LC_ALL in a console to see whether that's the case for you, too). So I ended up with two possible solutions:
- check [x] run in terminal in the K-Menu (nothing I liked to anticipate)
or add
- LC_ALL=<your preffered locale> &&
infront of the executable path, so for me it looked like this in the end:
LC_ALL=de_DE@euro && /usr/bin/thunderbird

Somewhat dirty, I presume, but that's the best way I could think of.
Colin (LQ.org won't let me post the URL as a link,* so google for "HOWTO: Customise Thunderbird Date Format" - first hit is our guy) has written a nice expression to see what values are possible for LC_ALL and what the date format would be on your machine.

Best regards!

* the mechanism regards smiles from their very own menu as links - how crappy is that? -___-
 
  


Reply

Tags
date, format, slackware, thunderbird


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
Thunderbird Date Format dotancohen Linux - Software 9 10-15-2005 03:55 PM
Need workaround for Date Format Cyberdyne Slackware 2 07-22-2005 05:36 AM
Date display in Thunderbird kbcnetau Linux - Software 5 04-08-2005 09:27 PM
Date format Mik LQ Suggestions & Feedback 8 12-05-2004 11:14 AM


All times are GMT -5. The time now is 05:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration