Revision b9894fd0
Von Sven Schöling vor mehr als 13 Jahren hinzugefügt
SL/Template/Plugin/L.pm | ||
---|---|---|
use Template::Plugin;
|
||
use List::MoreUtils qw(apply);
|
||
use List::Util qw(max);
|
||
use Scalar::Util qw(blessed);
|
||
|
||
use strict;
|
||
|
||
... | ... | |
|
||
$params{cal_align} ||= 'BR';
|
||
|
||
$self->input_tag($name, $value,
|
||
my $str_value = blessed $value ? $value->to_lxoffice : $value;
|
||
|
||
$self->input_tag($name, $str_value,
|
||
id => $name_e,
|
||
size => 11,
|
||
title => _H($::myconfig{dateformat}),
|
Auch abrufbar als: Unified diff
L.date_tag kann jetzt auch mit DateTime objekten umgehen