File: Timestamp.pm

package info (click to toggle)
libtext-trac-perl 0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 364 kB
  • ctags: 257
  • sloc: perl: 2,971; makefile: 2
file content (13 lines) | stat: -rwxr-xr-x 178 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
package Text::Trac::Macro::Timestamp;

use strict;
use warnings;

our $VERSION = '0.16';

sub process {
    my $class = shift;
    return '<b>' . localtime(time) . '</b>';
}

1;