summaryrefslogtreecommitdiffstats
path: root/staticweb/man.pl
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-13 12:16:32 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-13 12:16:32 +0800
commit090bb9fbe45c3352e92aa149a827fe6ac46a882d (patch)
treeec80b3691426680f5cd1c6bbd4c7970859588fc2 /staticweb/man.pl
parentf45194a66610e60b27d2bf86e571dc1e606ed820 (diff)
downloadpttbbs-090bb9fbe45c3352e92aa149a827fe6ac46a882d.tar
pttbbs-090bb9fbe45c3352e92aa149a827fe6ac46a882d.tar.gz
pttbbs-090bb9fbe45c3352e92aa149a827fe6ac46a882d.tar.bz2
pttbbs-090bb9fbe45c3352e92aa149a827fe6ac46a882d.tar.lz
pttbbs-090bb9fbe45c3352e92aa149a827fe6ac46a882d.tar.xz
pttbbs-090bb9fbe45c3352e92aa149a827fe6ac46a882d.tar.zst
pttbbs-090bb9fbe45c3352e92aa149a827fe6ac46a882d.zip
add buildtime
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1179 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'staticweb/man.pl')
-rwxr-xr-xstaticweb/man.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/staticweb/man.pl b/staticweb/man.pl
index 729a78d1..274797af 100755
--- a/staticweb/man.pl
+++ b/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;
}