Re: What is reason for fixed system data format?

From: Ivan Voras <ivoras_at_fer.hr>
Date: Mon, 09 Jul 2007 14:33:02 +0200
Peter Jeremy wrote:
> On 2007-Jul-07 21:52:58 +0400, Alex Keda <admin_at_lissyara.su> wrote:
>> I looks means for global change system date format (example -> 2007-07-07 
>> 21:48:58). But - it not exist.
>> In code some applications I see fixed string for length date string (example 
>> - ./usr.sbin/syslogd/syslogd.c).
>> =========
>> 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.

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


Received on Mon Jul 09 2007 - 10:33:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC