package Text::Trac::Macro::Timestamp; use strict; use warnings; sub process { my $class = shift; return '' . localtime(time) . ''; } 1;