Bug#857133: clarify date bug

gregor herrmann gregoa at debian.org
Wed Mar 8 17:22:14 UTC 2017


On Wed, 08 Mar 2017 19:01:41 +0800, 積丹尼 Dan Jacobson wrote:

> We read on the man page
> 
>        (see, it's even smart enough to fix my obvious date bug)
> 
> Perhaps when he wrote it it was obvious.
> 
> But now well past the millennium it is no longer obvious what in the
> world he is talking about. Please mention what it is.

I don't think this refers to any millenium events or the time when
the document was written.


The whole example is:

         my $t = Time::Piece->strptime("Sunday 3rd Nov, 1943",
                                       "%A %drd %b, %Y");

         print $t->strftime("%a, %d %b %Y");
       
       Outputs:

         Wed, 03 Nov 1943
       
       (see, it's even smart enough to fix my obvious date bug)


Looking closely, I note that the input of "Sunday ..." (the obvious
date bug) was converted into "Wed, ..." in the output.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Nick Cave And The Bad Seeds: Get Ready For Love
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20170308/30b6e2fa/attachment.sig>


More information about the Perl-maintainers mailing list