Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2001 02:13:33 +0100 (CET)
From:      Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/32843: make at(1) man page Y2K clean 
Message-ID:  <200112150113.fBF1DXn05203@pulcherrima.dbai.tuwien.ac.at>

next in thread | raw e-mail | index | archive | help

>Number:         32843
>Category:       docs
>Synopsis:       make at(1) man page Y2K clean
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 14 17:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Gerald Pfeifer
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
>Description:
	The man page of at(1) is not Y2K clean and only uses 2-digit
	years even though at(1) itself is able to grok 4-digit years.

	My patch adds the 4-digit year variants and makes them preferred
	(by listing them before the 2-digit variants); it also slightly
	rearranges the order of possible date specifications by putting
	those understood world-wide before the US ones.

>How-To-Repeat:
	
>Fix:
	Install my patch below:

Index: at.man
===================================================================
RCS file: /sw/FreeBSD/CVSUP/src/usr.bin/at/at.man,v
retrieving revision 1.22
diff -u -3 -p -r1.22 at.man
--- at.man	2001/11/20 15:43:25	1.22
+++ at.man	2001/12/04 17:30:23
@@ -82,12 +82,13 @@ by giving a date in the form
 .Ar \%month-name day
 with an optional
 .Ar year ,
-or giving a date of the form
-.Ar MMDDYY
-or
-.Ar MM/DD/YY
-or
-.Ar DD.MM.YY .
+or giving a date of the forms
+.Ar DD.MM.YYYY ,
+.Ar DD.MM.YY ,
+.Ar MM/DD/YYYY ,
+.Ar MM/DD/YY ,
+.Ar MMDDYYYY , or
+.Ar MMDDYY .
 The specification of a date must follow the specification of
 the time of day.
 You can also give times like
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112150113.fBF1DXn05203>