Re: What is reason for fixed system data format?

From: Peter Jeremy <peterjeremy_at_optushome.com.au>
Date: Sun, 8 Jul 2007 08:58:02 +1000
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.

You can create your own date formats (including locale variants) using
strftime(3) (available via the '+' options to date(1)).

-- 
Peter Jeremy

Received on Sat Jul 07 2007 - 20:58:06 UTC

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