Skip Menu |
 

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

Report information
The Basics
Id: 69523
Status: resolved
Worked: 1.5 hours (90 min)
Priority: 0/
Queue: Time-Format

People
Owner: eric.roode.cpan [...] gmail.com
Requestors: VADZ [...] cpan.org
Cc:
AdminCc:

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



Subject: time_format('Day') doesn't work for Sundays even though $time{'Day'} does
Download (untitled) / with headers
text/plain 538b
This is with Strawberry Perl 5.12.3 under Windows: % perl -w -MTime::Format -MDateTime -E 'say time_format("Day", DateTime->new(year=>2011,month=>7,day=>16))' Sat % perl -w -MTime::Format -MDateTime -E 'say time_format("Day", DateTime->new(year=>2011,month=>7,day=>17))' Use of uninitialized value in substitution iterator at (eval 905) line 378, <DATA> line 1. % perl -w -MTime::Format -MDateTime -E 'say $time{"Day", DateTime->new(year=>2011,month=>7,day=>17)}' Sun Looks like something is wrong when using time_format() for Sundays.
Fixed in v1.12. Good catch, Vadim. Thank you.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.