projects
/
infodrom.org
/
oldenburg.linux.de
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
578db66
)
Fixed the date pivot calculation
author
Joey Schulze
<joey@infodrom.org>
Fri, 17 Sep 2004 21:03:04 +0000
(21:03 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 17 Sep 2004 21:03:04 +0000
(21:03 +0000)
src/index.wml
patch
|
blob
|
history
diff --git
a/src/index.wml
b/src/index.wml
index
f420814
..
23c73db
100644
(file)
--- a/
src/index.wml
+++ b/
src/index.wml
@@
-38,7
+38,7
@@
genauso interessant, wie für den gewerblichen Einsatz. <p>
my ($date_sec,$date_min,$date_hour,$date_mday,$date_mon,$date_year,$date_wday,$date_isdst)
= localtime(time-24*60*60*10);
my ($date_sec,$date_min,$date_hour,$date_mday,$date_mon,$date_year,$date_wday,$date_isdst)
= localtime(time-24*60*60*10);
- my $pivot = sprintf ("%04d-%d-%02d", $date_year+1900, $date_mon+1, $date_mday);
+ my $pivot = sprintf ("%04d-%
02
d-%02d", $date_year+1900, $date_mon+1, $date_mday);
my @top = ();
foreach my $fname (@news) {
my @top = ();
foreach my $fname (@news) {