summaryrefslogtreecommitdiffstats
path: root/pttbbs/staticweb/man.pl
diff options
context:
space:
mode:
Diffstat (limited to 'pttbbs/staticweb/man.pl')
-rwxr-xr-xpttbbs/staticweb/man.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/pttbbs/staticweb/man.pl b/pttbbs/staticweb/man.pl
index 729a78d1..274797af 100755
--- a/pttbbs/staticweb/man.pl
+++ b/pttbbs/staticweb/man.pl
@@ -13,6 +13,7 @@ use Data::Serializer;
use Encode;
use Time::HiRes qw/gettimeofday tv_interval/;
use b2g;
+use POSIX;
use vars qw/%db $brdname $fpath $isgb %b2g/;
@@ -80,6 +81,7 @@ sub dirmode
$th{tmpl} = 'dir.html';
$th{isroot} = ($fpath eq '/') ? 1 : 0;
+ $th{buildtime} = POSIX::ctime($db{_buildtime} || 0);
return \%th;
}