Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jul 2007 14:33:02 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-current@freebsd.org
Subject:   Re: What is reason for fixed system data format?
Message-ID:  <f6t9u5$33c$1@sea.gmane.org>
In-Reply-To: <20070707225802.GF38748@turion.vk2pj.dyndns.org>
References:  <468FD2FA.1040102@lissyara.su> <20070707225802.GF38748@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5CD57BCE6F8CBD4080364841
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Peter Jeremy wrote:
> On 2007-Jul-07 21:52:58 +0400, Alex Keda <admin@lissyara.su> 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 (e=
xample=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?=

>=20
> 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.

I think he means: why hasn't ctime() been replaced with strftime("%c"),=20
since then the format could be varied by setting LC_* variables.


--------------enig5CD57BCE6F8CBD4080364841
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGkisFldnAQVacBcgRAvMlAKDH5B7zeHDW1MswCe3WWScEr7uAGgCgtsaG
PunyaS9EsYqwJuaJdxfzedA=
=Xnlf
-----END PGP SIGNATURE-----

--------------enig5CD57BCE6F8CBD4080364841--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f6t9u5$33c$1>