Form::...atetime(3pm)
π Form::...atetime(3pm) π
okay so bestie, welcome to the manual page for Form::...atetime (perl doc, 3pm section, user contributed, we love that for us). sit down, grab a strawberry, and let's get into it πβ¨
πΈ NAME πΈ
Embperl::Form::Control::price β a price input control with an optional unit inside an Embperl Form
not me clocking that the NAME says price on a datetime page π the original said it, so I said it, we don't make the rules here. moving on periodt π
β¨ SYNOPSIS β¨
{
type => 'price',
text => 'blabla',
name => 'foo',
unit => 'sec',
}
π¦ DESCRIPTION π¦
So this thing exists to create a datetime input control inside an Embperl Form. It will format a number as a date/time. π
If you wanna know how to specify parameters, go look at Embperl::Form β that's the main character, this page is the supporting cast.
The datetime format expected in %fdat is literally this, exactly this, no cap:
YYYYMMTTHHMMSSZ
lowkey note the TT in there, that's what the original says, so that's what you get π
π PARAMETER π
type
Needs to be 'datetime'. Like, it needs to be. That's the vibe check and you must pass it.
name
Specifies the name of the control. that's the whole job bestie π«Ά
text
Will be used as the label for the numeric input control.
size
Gives the size in characters. Default is 10. iconic default, honestly.
notime
does not display time. simple as. β¨
dynamic
allows the following values to be entered:
d, m, y, d-N, d+N, m-N, m+N, y-N, y+N
N is any number. These values are simply passed through and need to be processed somewhere else β so don't come for this control asking where your math went, it does not do the math, it just hands it over π
π Author π
G. Richter (richter at embperl dot org)
π See Also π
perl(1)EmbperlEmbperl::Form
that's the whole page, you ate it, go build something cute π§π
signing off with the receipts: this is perl v5.34.0, dated 2022-02-06, and the doc you just read is Form::...atetime(3pm). bye bestie ππΈ
π¦ where this page comes from
- ubuntu jammy: libembperl-perl 2.5.0-16build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms