From owner-freebsd-doc Fri Dec 14 17:20:10 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4E7A837B41B for ; Fri, 14 Dec 2001 17:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBF1K1R96593; Fri, 14 Dec 2001 17:20:01 -0800 (PST) (envelope-from gnats) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by hub.freebsd.org (Postfix) with ESMTP id D2D8237B419 for ; Fri, 14 Dec 2001 17:13:57 -0800 (PST) Received: from pulcherrima.dbai.tuwien.ac.at (pulcherrima [128.130.111.23]) by vexpert.dbai.tuwien.ac.at (8.11.6/8.11.6) with ESMTP id fBF1DlW14981; Sat, 15 Dec 2001 02:13:47 +0100 (MET) Received: (from pfeifer@localhost) by pulcherrima.dbai.tuwien.ac.at (8.11.6/8.11.6) id fBF1DXn05203; Sat, 15 Dec 2001 02:13:33 +0100 (CET) (envelope-from pfeifer) Message-Id: <200112150113.fBF1DXn05203@pulcherrima.dbai.tuwien.ac.at> Date: Sat, 15 Dec 2001 02:13:33 +0100 (CET) From: Gerald Pfeifer To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/32843: make at(1) man page Y2K clean Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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