From owner-freebsd-current@FreeBSD.ORG Sat Jul 7 22:58:06 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01B7F16A421 for ; Sat, 7 Jul 2007 22:58:06 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mx1.freebsd.org (Postfix) with ESMTP id 8442013C45D for ; Sat, 7 Jul 2007 22:58:05 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l67Mw3mM001480; Sun, 8 Jul 2007 08:58:03 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l67Mw2HX001479; Sun, 8 Jul 2007 08:58:02 +1000 (EST) (envelope-from peter) Date: Sun, 8 Jul 2007 08:58:02 +1000 From: Peter Jeremy To: Alex Keda Message-ID: <20070707225802.GF38748@turion.vk2pj.dyndns.org> References: <468FD2FA.1040102@lissyara.su> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Az4VpBrmI9+OyhK/" Content-Disposition: inline In-Reply-To: <468FD2FA.1040102@lissyara.su> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.15 (2007-04-06) Cc: current@freebsd.org Subject: Re: What is reason for fixed system data format? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2007 22:58:06 -0000 --Az4VpBrmI9+OyhK/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Jul-07 21:52:58 +0400, Alex Keda wrote: > I looks means for global change system date format (example -> 2007-07-07= =20 > 21:48:58). But - it not exist. > In code some applications I see fixed string for length date string (exam= ple=20 > - ./usr.sbin/syslogd/syslogd.c). > =3D=3D=3D=3D=3D=3D=3D=3D=3D > What reason for use fixed format, and is exists plans for change this? I presume you are referring to the time format returned by ctime(3). This format is specified by POSIX and thre are no plans to change it. You can create your own date formats (including locale variants) using strftime(3) (available via the '+' options to date(1)). --=20 Peter Jeremy --Az4VpBrmI9+OyhK/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGkBp6/opHv/APuIcRAloPAJ4wFUcBMihnuDAPWeKdzRH2RfB6QACeJp4z YO2HykoW2mIGD5NTcAkrvVk= =Ju6/ -----END PGP SIGNATURE----- --Az4VpBrmI9+OyhK/--