Skip Menu |
 

This queue is for tickets about the Search-Sitemap CPAN distribution.

Report information
The Basics
Id: 59038
Status: new
Priority: 0/
Queue: Search-Sitemap

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

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



Subject: $map->add() doesn't accept a DateTime object for lastmod
Download (untitled) / with headers
text/plain 335b
If I try to do: $some_datetime = DateTime->new; $map->add(url => $some_url, lastmod => $some_datetime); I get the following error: Attribute (lastmod) does not pass the type constraint because: Validation failed for 'Search::Sitemap::Types::SitemapLastMod' with value 2010-06- 28T20:03:29-07:00 at lib/Search/Sitemap.pm line 208


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.