<input type="text" name="<% $name %>" size="22" maxlength="22"
	value="<% $value->strftime("%Y-%m-%d %H:%M:%S") %>"/>

<%init>
use DateTime;

$context->add_widget(
	processor => 'process_date',
	name      => $name);

my $value = !$override && defined $ARGS{$name} ? $ARGS{$name} : $default;
print STDERR "VALUE: $value\n";

$name = $context->form_id.".$name";
</%init>

<%args>
$name
$default => DateTime->now;
$override => 0
</%args>
