From zgabor@code.hu  Tue Sep 24 23:44:13 1996
Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA01537
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Sep 1996 23:44:11 -0700 (PDT)
Received: by mail.EUnet.hu, id IAA14729; Wed, 25 Sep 1996 08:44:08 +0200
Received: from zg.CoDe.hu by CoDe.CoDe.hu (QAA05027); Tue, 24 Sep 1996 16:52:46 GMT
Received: (from zgabor@localhost) by zg.CoDe.hu (8.6.12/8.6.12) id RAA01163; Tue, 24 Sep 1996 17:33:02 +0200
Message-Id: <199609241533.RAA01163@zg.CoDe.hu>
Date: Tue, 24 Sep 1996 17:33:02 +0200
From: Zahemszky Gabor <zgabor@code.hu>
Reply-To: zgabor@code.hu
To: FreeBSD-gnats-submit@freebsd.org
Subject: ls(1) with LC_TIME
X-Send-Pr-Version: 3.2

>Number:         1678
>Category:       bin
>Synopsis:       ls(1) with LC_TIME
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ache
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 24 23:50:01 PDT 1996
>Closed-Date:    Sat Jan 11 14:45:34 PST 1997
>Last-Modified:  Sat Jan 11 14:48:17 PST 1997
>Originator:     Zahemszky Gabor
>Release:        FreeBSD 2.1.0-RELEASE i386
>Organization:
>Environment:

	

>Description:

	I made an LC_TIME file on some of the locale's directory,
	export ENABLE_STARTUP_LOCALE, and tried it.  It's ok.
	But ls -l has wrong output in the date field.  I've looked into
	the sources, and it has hardwired the size and POSITION of 
	the fields (it doesn't write the month, instead of write
	from eg position 3 to position 7 from the localtime string).

>How-To-Repeat:

	Get an LC_TIME file from -current, delete the comment lines,
	and change the record which says the format of the local time, eg
	not:
	Tue Sep 24 17:31:28 MET DST 1996
	but
	1996 Szep 24 Ke 17:31:28 MET
	export ENABLE_STARTUP_LOCALE, export the new LANG (or LC_TIME), and
	make an ls -l.

>Fix:
	
	

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ache 
Responsible-Changed-By: mpp 
Responsible-Changed-When: Sat Jan 11 12:44:01 PST 1997 
Responsible-Changed-Why:  
/LC_ 
Andrey's area... 
State-Changed-From-To: open->closed 
State-Changed-By: ache 
State-Changed-When: Sat Jan 11 14:45:34 PST 1997 
State-Changed-Why:  
c_fmt must be changed carefully, no hacks allowed here 
>Unformatted:
