[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.1.6 install OK except for X



At 18:01 +0000 1999-02-05, Enrique Zanardi wrote:
On Fri, Feb 05, 1999 at 10:22:59AM -0500, Adam Di Carlo wrote:
On Tue, 02 Feb 1999 21:36:44 +0000, Ian Redfern <redferni@logica.com> said:
> 2) The boot disk date is 01/30/99 (on the release notes screen) -
> could this be 1999-01-30 please, or at least have a four-digit year?

Agree, it should.

The date on the boot disk is the output of "date +%x", which in turn is
the output of strftime((out, out_length, "%x", time). %x outputs the
date using the proper format for the locale selected. For example, for
LANG=C it uses mm/dd/yy, for LANG=es it uses dd/mm/yy. As one of my goals
for slink was i18n, (there are several translations already), I'm not
quite happy with the idea of using a hardcoded format...

Why not just use `date +%Y-%m-%d'? That's the format (YYYY-MM-DD) ISO 8601 specifies.
--
Joel Klecker (aka Espy)                     <URL:http://web.espy.org/>
<URL:mailto:jk@espy.org>                  <URL:mailto:espy@debian.org>
Debian GNU/Linux PowerPC -- <URL:http://www.debian.org/ports/powerpc/>


Reply to: