Month in timestamp generation was off by one.

This commit is contained in:
John Fieber 1996-10-26 17:32:43 +00:00
parent e9d5f3ac40
commit 89e931fc48
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=625
2 changed files with 4 additions and 2 deletions

View file

@ -1,10 +1,11 @@
# $Id: cgi-style.pl,v 1.6 1996-10-06 03:49:03 jfieber Exp $
# $Id: cgi-style.pl,v 1.7 1996-10-26 17:32:43 jfieber Exp $
#
# Perl routines to encapsulate various elements of HTML page style.
# For future reference, when is now?
($se,$mn,$hr,$md,$mo,$yr,$wd,$yd,$dst) = localtime(time);
$yr += 1900;
$mo += 1;
$timestamp = "$mo-$md-$yr";
# Colors for the body

View file

@ -1,10 +1,11 @@
# $Id: cgi-style.pl,v 1.6 1996-10-06 03:49:03 jfieber Exp $
# $Id: cgi-style.pl,v 1.7 1996-10-26 17:32:43 jfieber Exp $
#
# Perl routines to encapsulate various elements of HTML page style.
# For future reference, when is now?
($se,$mn,$hr,$md,$mo,$yr,$wd,$yd,$dst) = localtime(time);
$yr += 1900;
$mo += 1;
$timestamp = "$mo-$md-$yr";
# Colors for the body