develooper Front page | perl.datetime | Postings from May 2003

[cpan #2601] Bug in epoch() method (fwd)

Thread Next
From:
Dave Rolsky
Date:
May 18, 2003 22:20
Subject:
[cpan #2601] Bug in epoch() method (fwd)
Message ID:
Pine.LNX.4.53.0305190019140.30430@urth.org
Could someone with a Mac take a look at this?

-dave

---------- Forwarded message ----------
Date: Mon, 19 May 2003 00:25:24 -0400 (EDT)
From: Guest via RT <bug-DateTime@rt.cpan.org>
To: AdminCc of cpan Ticket #2601:  ;
Subject: [cpan #2601] Bug in epoch() method


This message about DateTime was sent to you by guest <> via rt.cpan.org

Full context and any attached attachments can be found at:
<URL: https://rt.cpan.org/Ticket/Display.html?id=2601 >

Return value from epoch() method is incorrect for many+varied years due to Time::Local's year parsing. Try converting the MacOS epoch from a DateTime object to an epoch time and back again, for example.


Cheers,


Nick

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About