bug-coreutils
[Top][All Lists]
Advanced

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

Re: date Feature Request - day of month as 1st, 2nd, 3rd...


From: Eric Blake
Subject: Re: date Feature Request - day of month as 1st, 2nd, 3rd...
Date: Fri, 21 Aug 2009 13:13:47 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to address@hidden on 8/21/2009 10:46 AM:
> It would be great to have the option to display a date with the 
> appropriate suffix, e.g. 22nd August, especially now that these 
> display options carry through to the panel clock in GUIs such as 
> XFCE.  
> 
> It appears that %E is still free as a potential format string for 
> the addition of such a nice feature!  :)

Unfortunately, %E is already claimed as a format modifier (as in %Ec as
the locale's alternative date and time representation).

You may want to raise your proposal with the glibc team first in their
strftime(3) interface; coreutils is hesitant to add new % modifiers in
date(1) without prior practice from C libraries.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqO8esACgkQ84KuGfSFAYAbOQCeKxJXQ7LoCpzAViMvg68JuEop
JyQAoInIhJ1EpsfV5BUvH033NkKemR8D
=RVRz
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]