--- Begin Message ---
Subject: |
VS: bug in MAN page for data command |
Date: |
Tue, 26 Jul 2016 09:13:17 +0200 |
Hi,
I found that the MAN for "date" has wrong representation of "month" and
"minutes".
Command: date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]
According to the description "%M" is minutes and "%m" is month... but
the command takes "%M" as month and "%m" as minutes ;)
http://man7.org/linux/man-pages/man1/date.1.html
Best regards
Lars Sauer
Development Engineer, M.Sc. EE
E-mail: address@hidden
Phone (+45) 20 67 53 41
-----Oprindelig meddelelse-----
Fra: Michael Kerrisk (man-pages) [mailto:address@hidden
Sendt: 25. juli 2016 20:13
Til: Lars Issing Sauer
Cc: linux-man; Casper Thorø Vium Pedersen; Jeppe Andreasen
Emne: Re: bug in MAN page for data command
Hello Lars
On 25 July 2016 at 17:21, Lars Issing Sauer <address@hidden> wrote:
> Hi,
>
> I found that the MAN for "date" has wrong representation of "month" and
> "minutes".
>
> Command: date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]
>
> According to the description "%M" is minutes and "%m" is month... but
> the command takes "%M" as month and "%m" as minutes ;)
>
> http://man7.org/linux/man-pages/man1/date.1.html
This manual page is maintained by another project. See the following link for
info about how to report bugs for that project:
http://man7.org/linux/man-pages/man1/date.1.html#COLOPHON
Cheers,
Michael
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#24077: VS: bug in MAN page for data command |
Date: |
Wed, 27 Jul 2016 09:07:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
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.
--- End Message ---