Bug 483 - at doesn't seem to accept the time formats it's supposed to
Summary: at doesn't seem to accept the time formats it's supposed to
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 2.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-06-04 02:20 UTC by David Muir Sharnoff
Modified: 1995-06-04 02:20 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 David Muir Sharnoff 1995-06-04 02:20:02 UTC
	According to at(1), the following formats should be accepted:

		You can also specify the date on which the job will be run by giving
		a date in the form month-name day with an optional year, or giving
		a date of the form MMDDYY, MM/DD/YY or DD.MM.YY.

	However when I run at, I get the following:

		idiom:auction<312> /usr/bin/at 0200 06/03/95
		at: garbled time
		idiom:auction<313> /usr/bin/at 02:00 06/03/95
		at: garbled time
		idiom:auction<314> /usr/bin/at 06/03/95 02:00
		at: garbled time

	In fact, the only way I found to enter a date is MMDDYY.
Comment 1 Joerg Wunsch freebsd_committer freebsd_triage 1995-06-24 18:16:51 UTC
State Changed
From-To: open->closed


Version 1.3 of at/parsetime.c did already fix most of the complaints. 
The last point of the PR has been based on a misunderstanding: the 
date specification _must_ follow the time-of-day spec.  Version 1.2 of 
the man pages clarifies this.