Locale support

David Seikel won_fang at yahoo.com.au
Wed Aug 8 16:56:22 UTC 2007


On Wed, 08 Aug 2007 09:36:08 -0700 Jim Blandy <jimb at codesourcery.com>
wrote:

> 
> Natanael copa <natanael.copa at gmail.com> writes:
> > For example, what date is 07/08/06? It depends on your locale. In
> > USA it means July 8, 2006. In most European countries it means 7.
> > Aug 2006 and in Japan it means 2007 Aug 6.
> 
> I have a good solution for this which nobody seems interested in.
> 
> First, we make centuries fifty-seven years long.  We count the first
> century 44, the next 45, and so on up to 00, after which we start at
> 44 again.
> 
> Then, we start counting the days of the month 13, 14, ... 43.
> 
> We number months as we do now: 1 .. 12.

Should be 01 .. 12 so that it is a two digit number.

> Thus, any two-digit number is unambiguously either a year, month, or
> day within a month.  As a result, it doesn't matter what order you
> write the numbers in; their range identifies their meaning.

I like it.
 
> I have written the editor of my local newspaper repeatedly on this
> issue, without success.

Crazy media type people.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070809/0c93f69c/attachment-0002.pgp 


More information about the uClibc mailing list