From erik@sran8.sra.co.jp Thu Dec 13 14:32:57 1990
Received: from mcsun.EU.net by dkuug.dk via EUnet with SMTP (5.64+/8+bit/IDA-1.2.8)
	id AA01678; Thu, 13 Dec 90 14:32:57 +0100
Received: by mcsun.EU.net with SMTP; Thu, 13 Dec 90 14:31:45 +0100
Received: from srava.sra.co.jp by srawgw.sra.co.jp (5.64WH/1.4)
	id AA22817; Thu, 13 Dec 90 22:30:44 +0900
Received: from sran8.sra.co.jp by srava.sra.co.jp (5.64b/6.4J.6-BJW)
	id AA01205; Thu, 13 Dec 90 22:30:51 +0900
Received: from localhost by sran8.sra.co.jp (4.0/6.4J.6-SJ)
	id AA24009; Thu, 13 Dec 90 22:28:53 JST
Return-Path: <erik@sran8.sra.co.jp>
Message-Id: <9012131329.AA24009@sran8.sra.co.jp>
Reply-To: erik@sra.co.jp
From: Erik M. van der Poel <erik@sra.co.jp>
To: keld@dkuug.dk
Cc: XoTGinter@xopen.co.uk, i18n@dkuug.dk
Subject: Re: (i18n 47) Re: Japanese Profile (#422)
Date: Thu, 13 Dec 90 22:28:48 +0900
Sender: erik@sran8.sra.co.jp
X-Charset: ASCII
X-Char-Esc: 29

> > Of course, the Japanese use both systems, the Western year and the Era
> > year, so that's why we want *two* -- %Y and %E. What I'm trying to say
> > in this message is: Why don't we put the main system (the true local
> > style) in %Y, and put the secondary system in the other one.
> 
> Maybe you should have more than one Japanese locale.

Yes, I like this idea! Instead of introducing things of questionable
generality like %E, we allow (force?) the Japanese (and Koreans,
Taiwanese, etc.) to deal with this locally (localely?).


> I am not sure what Erik means when he talks about main/secondary system.

By main system, I just meant the system that is the true local style,
i.e. the era system in the case of the Japanese. The secondary system
is just another one, that is not the true local style.


> I think you have just one (or maybe two) date formats available in
> your locale. There is the d_fmt and d_t_fmt - where the latter
> also includes the time.

Actually, the user is able to choose from a very large number of
formats for the date. In POSIX.2/D10, the "date" command allows the
use of %H, %M, %S, etc. in the format string:

	$ date '+%e %B'
	13 December
	$ 


> Doing programming for Japan depending on the knowledge that one
> date format displays the Era and the other the western date
> seems messy to me.
> 
> Keld

Right, American programmers should not have to worry about the
Japanese users' particular preferences.


Erik

