git: date(1): Add "-R" flag to use RFC 2822 date and time output format

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Nov 15 11:20:35 PST 2014


commit 3ea318c6a5debb74a8ef8e61ff0d45babbfb50c2
Author: Robin Hahling <robin.hahling at gw-computing.net>
Date:   Sat Nov 15 19:57:37 2014 +0100

    date(1): Add "-R" flag to use RFC 2822 date and time output format
    
    As stated in the man page, this is equivalent to use
    "%a, %d %b %Y %T %z" as the output format while LC_TIME is set to the
    "C" locale.
    
    This is compatible with date(1) from the GNU core utilities.
    
    Taken-from: FreeBSD
    
    While here, remove $DragonFly$ line from man page.

Summary of changes:
 bin/date/date.1 | 17 +++++++++++++----
 bin/date/date.c | 25 +++++++++++++++++++++----
 2 files changed, 34 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3ea318c6a5debb74a8ef8e61ff0d45babbfb50c2


-- 
DragonFly BSD source repository



More information about the Commits mailing list