Bug 7524 - 'at' is broken if the year is not specified
Summary: 'at' is broken if the year is not specified
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: alex
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-08-07 22:20 UTC by mvh
Modified: 1998-08-08 15:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mvh 1998-08-07 22:20:00 UTC
'at' is entering 1999 dates for things that should be in 1998.  This
could cause some real problems!	A year 2000 problem, I am sure, in
reverse if you think about it...

How-To-Repeat: sample run:

$ at 10am Sep 1
date
Job 1260 will be executed using /bin/sh
$ atq
Date                    Owner   Queue   Job#
10:00:00 09/01/99       judge   c       1260
$ date
Fri Aug  7 14:09:42 PDT 1998
$
Comment 1 alex freebsd_committer freebsd_triage 1998-08-08 14:42:46 UTC
Responsible Changed
From-To: freebsd-bugs->alex

Probably my fault.  I'll look into it. 
Comment 2 alex freebsd_committer freebsd_triage 1998-08-08 15:02:01 UTC
State Changed
From-To: open->closed

Fixed in src/usr.bin/at/parsetime.c revs: 1.14 (-current) and 1.7.2.4 
(-stable).