[illumos-Developer] webrev: add -R support to date

Dan McDonald danmcd at nexenta.com
Mon May 2 07:32:34 PDT 2011


On Sun, May 01, 2011 at 11:01:10PM -0700, Garrett D'Amore wrote:
> This webrev adds support for "-R" to date, which is useful for some
> scripts designed for Linux that expect it to work.
> 
> Note that we match the Linux behavior precisely, rather than the Linux
> "documented" behavior of RFC 822.
> 
> The webrev is here:  http://mexico.purplecow.org/gdamore/webrev/date-r/

This tracks, and if a reviewer wants to see sample output now:

	date +"%a, %d %h %Y %H:%M:%S %z"

is equivalent.

Ship it!
Dan



More information about the Developer mailing list