Skip Menu |

This queue is for tickets about the Time-Piece CPAN distribution.

Report information
The Basics
Id: 11947
Status: resolved
Priority: 0/
Queue: Time-Piece

People
Owner: Nobody in particular
Requestors: johanl [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.08
Fixed in: (no value)



Subject: strptime doesn't work
perl -MTime::Piece -e "Time::Piece->strptime(time(), '%s')" garbage at end of string in strptime: 1111357712 at C:/appl/dev/mod_perl/Perl/site/lib/Time/Piece.pm line 442. %s is the seconds since the epoch, and so is time(), right? So that should work /J
On Sun Mar 20 17:31:47 2005, guest wrote: Show quoted text
> perl -MTime::Piece -e "Time::Piece->strptime(time(), '%s')" > garbage at end of string in strptime: 1111357712 at > C:/appl/dev/mod_perl/Perl/site/lib/Time/Piece.pm line 442. > > %s is the seconds since the epoch, and so is time(), right? So that > should work > > > /J
Works fine everywhere I've tried it. Closing the bug. Please re-open and state the platform (perl version, OS, etc) if this is still an issue.