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
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.