GNU bug report logs -
#24077
VS: bug in MAN page for data command
Previous Next
Reported by: "Lars Issing Sauer" <lsa <at> logos.dk>
Date: Tue, 26 Jul 2016 17:59:02 UTC
Severity: normal
Tags: wontfix
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 24077-done <at> debbugs.gnu.org (full text, mbox):
Hi Paul,
Maybe im mistaken but I still think there is a bug.
The command is:
date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]
Where its MM is supposed to be the Month.. is this not correct?
When you scroll down, and look for what %M is.. is says..
%m = month (01..12)
%M = minute (00..59)
Which is not correct according to the command description.
Regards
Lars
-----Oprindelig meddelelse-----
Fra: Paul Eggert [mailto:eggert <at> cs.ucla.edu]
Sendt: 27. juli 2016 09:07
Til: Lars Issing Sauer; 24077-done <at> debbugs.gnu.org
Emne: Re: bug#24077: VS: bug in MAN page for data command
On 07/26/2016 09:13 AM, Lars Issing Sauer wrote:
> According to the description "%M" is minutes and "%m" is month... but
> the command takes "%M" as month and "%m" as minutes ;)
Sorry, I don't see any bug here. "date +%M" outputs the current number of minutes past the hour, and "date +%m" outputs the current month number, and that is what is documented.
This bug report was last modified 8 years and 299 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.