summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-01-15 17:08:37 +0100
committerYorhel <git@yorhel.nl>2009-01-15 17:09:13 +0100
commit14b629b90276058db4478f1c6348dbaa71b55937 (patch)
tree3292d0d516b973f498abeef9ce198b299ade5113
parentf48da95f3a04d72f512ac85421d4dffc232e687f (diff)
Fixed month display on VNBrowse
-rw-r--r--ChangeLog1
-rw-r--r--lib/VNDB/Func.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d4b721be..e28f6cbd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@
- Keep VN relations on r+ pages ordered by title
- VN search doesn't match on titles of older release revisions anymore
- Don't forget to update the vn.c_* columns when hiding/unhiding a release
+ - Fixed month display on VNBrowse
2.1 - 2008-12-29
- Skin support
diff --git a/lib/VNDB/Func.pm b/lib/VNDB/Func.pm
index 330dad7d..4c71d061 100644
--- a/lib/VNDB/Func.pm
+++ b/lib/VNDB/Func.pm
@@ -70,7 +70,7 @@ sub monthstr {
return 'TBA' if $y == 9999;
return 'unknown' if $y == 0;
return $y if $m == 99;
- return strftime '%b %Y', 0, 0, 0, 0, $m-1, $y-1900, 0, 0, 0;
+ return sprintf '%s %d', [qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec)]->[$m-1], $y;
}