HTML::...teTime(3pm)

πŸ“¦
version 0.40068 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute

πŸ’– NAME πŸ’–

HTML::...teTime(3pm) β€” that's the manual page, under User Contributed Perl Documentation β€” is all about HTML::FormHandler::Field::DateTime, a compound DateTime field. slay. ✨

🌈 VERSION 🌈

version 0.40068 β€” yes bestie, that's the version, no cap. πŸ’…

✨ DESCRIPTION ✨

This is a compound field β€” and fr fr, it requires you to define the subfields for month/day/year/hour/minute. Its widget type is 'compound'. 🫢

If you want to use drop-down select boxes for your DateTime, you can select fields like:

has_field 'my_date' => ( type => 'DateTime' );
has_field 'my_date.month' => ( type => 'Month' );
has_field 'my_date.day' => ( type => 'MonthDay' );
has_field 'my_date.year' => ( type => 'Year' );
has_field 'my_date.hour' => ( type => 'Hour' );
has_field 'my_date.minute' => ( type => 'Minute' );

If you want simple input fields:

has_field 'my_date' => ( type => 'DateTime' );
has_field 'my_date.month' => ( type => 'Integer', range_start => 1,
     range_end => 12 );
has_field 'my_date.day' => ( type => 'Integer', range_start => 1,
     range_end => 31 );

Customizable error: 'datetime_invalid' (default = "Not a valid DateTime") β€” you can customize it, iykyk. 😌

See the 'Date' field for a single input date field. πŸŽ€

πŸ¦‹ AUTHOR πŸ¦‹

FormHandler Contributors - see HTML::FormHandler. iconic. πŸ‘‘

This software is copyright (c) 2017 by Gerda Shank. πŸ’–

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. 🌸


mwah πŸ’‹ β€” source/version: perl v5.34.0; date: 2022-03-25; page: HTML::...teTime(3pm). byeeee 🫢

πŸ“¦ where this page comes from