logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTML::FormHandler::Field::Duration - DateTime::Duration from HTML form values

Author

       FormHandler Contributors - see HTML::FormHandler

Name

       HTML::FormHandler::Field::Duration - DateTime::Duration from HTML form values

Subfields

       Subfield names:

         years, months, weeks, days, hours, minutes, seconds, nanoseconds

       For example:

          has_field 'duration'         => ( type => 'Duration' );
          has_field 'duration.hours'   => ( type => 'Hour' );
          has_field 'duration.minutes' => ( type => 'Minute' );

       Customize error message 'duration_invalid' (default 'Invalid value for [_1]: [_2]')

Version

       version 0.40068

See Also