summaryrefslogtreecommitdiff
path: root/www/dailymod.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-03 22:52:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-03 22:52:58 +0000
commit852333402d6287f21b287887e0503a3743974460 (patch)
tree0280086b706a6d62e96edfc5476d5995c8e25642 /www/dailymod.pl
parent24ecdfe51780b4478cfd08132c95d47985d7971c (diff)
downloadrockbox-852333402d6287f21b287887e0503a3743974460.tar.gz
rockbox-852333402d6287f21b287887e0503a3743974460.zip
make sure the extracted number starts with 20, as otherwise it isn't a date
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3914 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'www/dailymod.pl')
-rwxr-xr-xwww/dailymod.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/dailymod.pl b/www/dailymod.pl
index 4ddcf7e55b..8e503ee30d 100755
--- a/www/dailymod.pl
+++ b/www/dailymod.pl
@@ -12,7 +12,7 @@ for(@list) {
12 closedir DIR; 12 closedir DIR;
13 13
14 for(@files) { 14 for(@files) {
15 /(\d+)/; 15 /(20\d+)/;
16 $date{$1}=$1; 16 $date{$1}=$1;
17 } 17 }
18} 18}