Message-ID: <3A498D04.72732139@turk.net> Date: Wed, 27 Dec 2000 08:32:36 +0200 From: Togan Muftuoglu <toganm@turk.net> Subject: date format Hi everyone, Happy Holidays and best wishes for the New Year How can I change the format of date on the sistem. Here is what I mean: Currently when date command is issued I get back Wed Dec 27 08:30 EET 2000 However I want it 27 Dec Wed 2000 08:30 Wher can I define that TIA -- Togan Muftuoglu toganm@turk.net 100% MS FREE Absolutely no component of Microsoft was used in the generation or posting of this e-mail. So it is virus free
Date: Wed, 27 Dec 2000 08:22:13 +0000 From: Tor Sigurdsson <tosi@suse.starf.rhi.hi.is> Message-ID: <20001227082213.C17451@dustpuppy.suse.starf.rhi.hi.is> Subject: Re: [SLE] date format Hello Togan, This is probably what you are looking for: tosi@dustpuppy:~ > unset LC_ALL tosi@dustpuppy:~ > date Wed Dec 27 08:16:03 GMT 2000 tosi@dustpuppy:~ > export LC_TIME=is_IS.iso8859-1 tosi@dustpuppy:~ > date Mið Des 27 08:16:25 GMT 2000 tosi@dustpuppy:~ > export LC_TIME=POSIX tosi@dustpuppy:~ > date Wed Dec 27 08:16:30 GMT 2000 tosi@dustpuppy:~ > export LC_TIME=tr_TR.iso8859-2 tosi@dustpuppy:~ > date Çrþ Ara 27 08:18:15 GMT 2000 I think for your purposes, you'd like to have LC_TIME set to turkish ? My guess is that that's tr_TR.iso8859-2 ( no offense intended if I'm wrong :) The output format is then defined in your locale in /usr/share/locale/tr_TR/ Regards, Tor Sigurdsson On Wed, Dec 27, 2000 at 08:32:36AM +0200, Togan Muftuoglu wrote:
Hi everyone,
Happy Holidays and best wishes for the New Year
How can I change the format of date on the sistem. Here is what I mean:
Currently when date command is issued I get back
Wed Dec 27 08:30 EET 2000
However I want it
27 Dec Wed 2000 08:30
Wher can I define that
TIA -- Togan Muftuoglu toganm@turk.net
100% MS FREE Absolutely no component of Microsoft was used in the generation or posting of this e-mail. So it is virus free
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- ______ /---------------------------------------\ \ | Þór Sigurðsson | Tor Sigurdsson | t | | Netmaður | Network Specialist | o | |-----------------------------------------| s | | tosi@rhi.hi.is | i | \---------------------------------------/_____/
Message-ID: <3A49AE18.5E97C468@turk.net> Date: Wed, 27 Dec 2000 10:53:44 +0200 From: Togan Muftuoglu <toganm@turk.net> Subject: Re: [SLE] date format Tor Sigurdsson wrote:
Hello Togan,
This is probably what you are looking for:
tosi@dustpuppy:~ > unset LC_ALL tosi@dustpuppy:~ > date Wed Dec 27 08:16:03 GMT 2000 tosi@dustpuppy:~ > export LC_TIME=is_IS.iso8859-1 tosi@dustpuppy:~ > date Mið Des 27 08:16:25 GMT 2000 tosi@dustpuppy:~ > export LC_TIME=POSIX tosi@dustpuppy:~ > date Wed Dec 27 08:16:30 GMT 2000 tosi@dustpuppy:~ > export LC_TIME=tr_TR.iso8859-2 tosi@dustpuppy:~ > date Çrþ Ara 27 08:18:15 GMT 2000
This is the same result I am getting which in the Turkish grammar wrong it should be 27 Ara Çrþ 08:18:15 and this is the format I am trying to reach
I think for your purposes, you'd like to have LC_TIME set to turkish ?
not actually I am quiye happy with my current setting en_US yet there is a project going on to have a linux distribution with everything in Turkish hence I needed the info
My guess is that that's tr_TR.iso8859-2 ( no offense intended if I'm wrong :)
actually it is tr_TR.iso8859-9
The output format is then defined in your locale in /usr/share/locale/tr_TR/
looks like I need to correct it at /usr/share/18n/locale/tr_TR where the actual information is held since the above is reached after localedef compiliation Thanks for the help -- Togan Muftuoglu toganm@turk.net 100% MS FREE Absolutely no component of Microsoft was used in the generation or posting of this e-mail. So it is virus free
participants (2)
-
toganm@turk.net
-
tosi@suse.starf.rhi.hi.is