| 1 |
package HTML::FormHandler::Field::DateMDY; |
| 2 |
# ABSTRACT: m/d/y date field |
| 3 |
$HTML::FormHandler::Field::DateMDY::VERSION = '0.410002'; |
| 4 |
use HTML::FormHandler::Moose; |
| 5 |
extends 'HTML::FormHandler::Field::Date'; |
| 6 |
|
| 7 |
has '+format' => ( default => '%m/%d/%Y' ); |
| 8 |
|
| 9 |
|
| 10 |
__PACKAGE__->meta->make_immutable; |
| 11 |
use namespace::autoclean; |
| 12 |
1; |
| 13 |
|
| 14 |
__END__ |
| 15 |
|
| 16 |
=pod |
| 17 |
|
| 18 |
=encoding UTF-8 |
| 19 |
|
| 20 |
=head1 NAME |
| 21 |
|
| 22 |
HTML::FormHandler::Field::DateMDY - m/d/y date field |
| 23 |
|
| 24 |
=head1 VERSION |
| 25 |
|
| 26 |
version 0.410002 |
| 27 |
|
| 28 |
=head1 SYNOPSIS |
| 29 |
|
| 30 |
For date fields in the format nn/nn/nnnn. This simply inherits |
| 31 |
from L<HTML::FormHandler::Field::Date> and sets the format |
| 32 |
to "%m/%d/%Y". |
| 33 |
|
| 34 |
=head1 AUTHOR |
| 35 |
|
| 36 |
FormHandler Contributors - see HTML::FormHandler |
| 37 |
|
| 38 |
=head1 COPYRIGHT AND LICENSE |
| 39 |
|
| 40 |
This software is copyright (c) 2017 by Gerda Shank. |
| 41 |
|
| 42 |
This is free software; you can redistribute it and/or modify it under |
| 43 |
the same terms as the Perl 5 programming language system itself. |
| 44 |
|
| 45 |
=cut |