summaryrefslogtreecommitdiff
path: root/lib/VNDB/DB/Producers.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-09 09:57:22 +0200
committerYorhel <git@yorhel.nl>2009-08-09 10:12:06 +0200
commitf0417c6752873c4d6191c7b5f90ac4e44853fd55 (patch)
treecfd3d7033c3564e04ac2f8c5458683b64f68f485 /lib/VNDB/DB/Producers.pm
parentbf4ee54dbc1a3d6a358883baedde7602a8232da4 (diff)
Converted changes.added to timestamptz
That was the last one. I hope I haven't forgotten to update anything.
Diffstat (limited to 'lib/VNDB/DB/Producers.pm')
-rw-r--r--lib/VNDB/DB/Producers.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/DB/Producers.pm b/lib/VNDB/DB/Producers.pm
index 7a63d1a2..65d1fbca 100644
--- a/lib/VNDB/DB/Producers.pm
+++ b/lib/VNDB/DB/Producers.pm
@@ -43,7 +43,7 @@ sub dbProducerGet {
my $select = 'p.id, pr.type, pr.name, pr.original, pr.lang';
$select .= ', pr.desc, pr.alias, pr.website, p.hidden, p.locked' if $o{what} =~ /extended/;
- $select .= ', c.added, c.requester, c.comments, p.latest, pr.id AS cid, u.username, c.rev' if $o{what} =~ /changes/;
+ $select .= q|, extract('epoch' from c.added) as added, c.requester, c.comments, p.latest, pr.id AS cid, u.username, c.rev| if $o{what} =~ /changes/;
my($r, $np) = $self->dbPage(\%o, q|
SELECT !s