git: date(1): Choose a better format constant

John Marino marino at crater.dragonflybsd.org
Mon Sep 30 13:03:12 PDT 2013


commit 186caa278222c7119004c7c5823c3f8403a81243
Author: John Marino <draco at marino.st>
Date:   Mon Sep 30 21:58:56 2013 +0200

    date(1): Choose a better format constant
    
    After the locales patch, date(1) would return something like "09/30/13"
    depending on your locale.  This is a different format that omits the
    time component that was there before.  Changing the D_FMT constant for
    D_T_FMT will return something like "Mon Sep 30 21:55:26 2013" which is
    much closer to how it was before the locales patch was committed.

Summary of changes:
 bin/date/date.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/186caa278222c7119004c7c5823c3f8403a81243


-- 
DragonFly BSD source repository


More information about the Commits mailing list