| 1 | package HTML::FormHandler::Field::DateMDY; | ||
| 2 | # ABSTRACT: m/d/y date field | ||
| 3 | 1 | $HTML::FormHandler::Field::DateMDY::VERSION = '0.410000'; | |
| 4 | 1 | ▶ | use HTML::FormHandler::Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | extends 'HTML::FormHandler::Field::Date'; | |
| 6 | |||
| 7 | 1 | has '+format' => ( default => '%m/%d/%Y' ); | |
| 8 | |||
| 9 | |||
| 10 | 1 | __PACKAGE__->meta->make_immutable; | |
| 11 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | 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.410000 | ||
| 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 | ||