Re: date locale problem

2004-05-13 Thread cantona

Yes, it works! thanks


On Mon, 2004-05-13 at 13:46 +0100, Colin Watson wrote: 
> On Thu, May 13, 2004 at 08:32:50PM +0800, cantona wrote:
> > However "LC_TIME=C date" still display the zh_HK date
> > "LC_ALL=C date" works, but it change all locate to C..
> > I dont want like that.
> 
> Have you set LC_ALL=zh_HK? Don't - use the LANG variable instead of
> LC_ALL if you want to be able to override individual aspects of it.
> 
> -- 
> Colin Watson  [EMAIL PROTECTED]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: date locale problem

2004-05-13 Thread Colin Watson
On Thu, May 13, 2004 at 08:32:50PM +0800, cantona wrote:
> However "LC_TIME=C date" still display the zh_HK date
> "LC_ALL=C date" works, but it change all locate to C..
> I dont want like that.

Have you set LC_ALL=zh_HK? Don't - use the LANG variable instead of
LC_ALL if you want to be able to override individual aspects of it.

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: date locale problem

2004-05-13 Thread cantona
Hi, 

However "LC_TIME=C date" still display the zh_HK date
"LC_ALL=C date" works, but it change all locate to C..
I dont want like that.

Regards,
cantona

On 四, 2004-05-13 at 12:17 +0100, Colin Watson wrote:
> On Thu, May 13, 2004 at 02:33:17AM +0800, cantona wrote:
> > I am using locale zh_HK, the date is displaying in Chinese. (四 5月 13
> > 02:26:03 HKT 2004)
> > I want to display the 'date' in C (Thu May 13 02:28:59 HKT 2004)
> 
> Set LC_TIME=C in your environment. See locale(7).
> 
> Cheers,
> 
> -- 
> Colin Watson  [EMAIL PROTECTED]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: date locale problem

2004-05-13 Thread Colin Watson
On Thu, May 13, 2004 at 02:33:17AM +0800, cantona wrote:
> I am using locale zh_HK, the date is displaying in Chinese. (å 5æ 13
> 02:26:03 HKT 2004)
> I want to display the 'date' in C (Thu May 13 02:28:59 HKT 2004)

Set LC_TIME=C in your environment. See locale(7).

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



date locale problem

2004-05-12 Thread cantona
Hi all

I am using locale zh_HK, the date is displaying in Chinese. (四 5月 13
02:26:03 HKT 2004)
I want to display the 'date' in C (Thu May 13 02:28:59 HKT 2004) but
dont change the locale zh_HK to locale C or other,
so any file is handle the date/time locale eg. "xxx.mo"
so I can replace the file from locale C.
Any idea?

Thanks
cantona


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]