debian/0000755000000000000000000000000011510700624007162 5ustar debian/control0000644000000000000000000000275511510700304010571 0ustar Source: libdata-formvalidator-constraints-datetime-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libdata-formvalidator-perl, libdatetime-perl, libdatetime-format-builder-perl, libdatetime-format-strptime-perl Maintainer: Debian Perl Group Uploaders: Alan Haggai Alavi , Nicholas Bamber Standards-Version: 3.9.1 Homepage: http://search.cpan.org/dist/Data-FormValidator-Constraints-DateTime/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdata-formvalidator-constraints-datetime-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libdata-formvalidator-constraints-datetime-perl/ Package: libdata-formvalidator-constraints-datetime-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libdata-formvalidator-perl, libdatetime-format-strptime-perl, libdatetime-perl Recommends: libdatetime-format-builder-perl Suggests: libdatetime-format-pg-perl, libdatetime-format-mysql-perl Description: date and time constraint plugin for Data::FormValidator Data::FormValidator::Constraints::DateTime provides constraint routines for Data::FormValidator based upon the DateTime module. It provides an easy mechanism for validating dates of any format (using strptime(3)) and transforming those dates (as long as you 'untaint' the fields) into valid DateTime objects, or into strings that would be properly formatted for various database engines. debian/copyright0000644000000000000000000000223211510470001011105 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Michael Peters Source: http://search.cpan.org/dist/Data-FormValidator-Constraints-DateTime/ Name: Data-FormValidator-Constraints-DateTime Files: * Copyright: 2010, Michael Peters License: Artistic or GPL-1+ Files: debian/* Copyright: 2010, Alan Haggai Alavi 2011, Nicholas Bamber License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000025311404412446010217 0ustar version=3 http://search.cpan.org/dist/Data-FormValidator-Constraints-DateTime/ .*/Data-FormValidator-Constraints-DateTime-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011510700530010605 5ustar debian/patches/series0000644000000000000000000000002711404412446012031 0ustar correct-spelling.patch debian/patches/correct-spelling.patch0000644000000000000000000000227111405014324015106 0ustar Description: Correct spelling mistakes Origin: vendor Forwarded: no Author: Alan Haggai Alavi Last-Update: 2010-06-12 --- a/lib/Data/FormValidator/Constraints/DateTime.pm +++ b/lib/Data/FormValidator/Constraints/DateTime.pm @@ -209,7 +209,7 @@ This routine is used to take multiple inputs (one each for the year, month, and day) and combine them into a L object, validate the resulting date, and give you the resulting DateTime -object in your C<< valid() >> results. It must recieve as C<< params >> +object in your C<< valid() >> results. It must receive as C<< params >> the year, month, and day inputs in that order. You may also specify additional C<< params >> that will be interpretted as 'hour', 'minute' and 'second' values to use. If none are provided, then the time '00:00:00' @@ -897,7 +897,7 @@ The routine will change the date string into a DATETIME datatype suitable for PostgreSQL. If you don't provide a format then the -data will validated as a DATETIME datatype in PostgresSQL (using +data will validated as a DATETIME datatype in PostgreSQL (using L). If the value is untainted (using C or debian/compat0000644000000000000000000000000211510470001010351 0ustar 8 debian/changelog0000644000000000000000000000046011510700224011030 0ustar libdata-formvalidator-constraints-datetime-perl (1.11-1) unstable; urgency=low [ Alan Haggai Alavi ] * Initial Release. (closes: #585449) [ Nicholas Bamber ] * Added myself to Uploaders and completed packaging work -- Nicholas Bamber Tue, 04 Jan 2011 19:51:40 +0000 debian/source/0000755000000000000000000000000011510700530010456 5ustar debian/source/format0000644000000000000000000000001411404412446011674 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611404412446010245 0ustar #!/usr/bin/make -f %: dh $@