date documentation out of date
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coreutils (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The version of date shipped with Ubuntu 12.04 has out-of-date documentation which does not document the --iso-8061 option.
Steps to reproduce:
1. man date
2. /--iso-8061
3. Actual: "Pattern not found". Expected: documentation on --iso-8061
4. Press q to quit
5. info date
6. Follow link: "Options for date"
7. /--iso-8061
8: Actual: "Search failed". Expected: documentation on --iso-8061
9. i--iso-8061
10: Actual: No index entries containing `--iso-8061'. Expected: documentation on --iso-8061
11: date --iso-8061
12 Actual and expected: 2012-08-14
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: coreutils 8.13-3ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Tue Aug 14 19:17:17 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: coreutils
UpgradeStatus: Upgraded to precise on 2012-05-01 (105 days ago)
Thank you for opening this bug and helping make Ubuntu better.
This is not a bug: '--iso-8601' was deprecated and removed from documentation in 2005; at the time coreutils was unable to correctly parse ISO 8601 dates (meaning it could output it, but could not parse an ISO 8601 date as input). This option was reinstated in 2011 (coreutils 8.15), after some changes that made parsing of ISO 8601 dates possible.
12.04 runs coreutils 8.13. As such, there is no documentation about '--iso-8601' or '-I', as explained above. Closing invalid, working as designed.