diff options
author | Yorhel <git@yorhel.nl> | 2009-08-08 16:24:36 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-08-08 16:24:36 +0200 |
commit | c90e590bdbe7933df8e8a0d83c82dddfa22afc37 (patch) | |
tree | d12222fe49826cf640f0321c04bcc8130c0e25ee /lib/VNDB/DB/ULists.pm | |
parent | 5865bdbb0c0b9492d57af220bb00ee9d1f7eeed7 (diff) |
Converted wlists.added and rlists.added to timestamptz
I like how the rlists.added column isn't used anywhere in the code,
makes the conversion a lot easier. :-)
Diffstat (limited to 'lib/VNDB/DB/ULists.pm')
-rw-r--r-- | lib/VNDB/DB/ULists.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/DB/ULists.pm b/lib/VNDB/DB/ULists.pm index 4fca60f7..1a1efecd 100644 --- a/lib/VNDB/DB/ULists.pm +++ b/lib/VNDB/DB/ULists.pm @@ -246,7 +246,7 @@ sub dbWishListGet { defined $o{wstat} ? ( 'wl.wstat = ?' => $o{wstat} ) : (), ); - my $select = 'wl.vid, wl.wstat, wl.added'; + my $select = q|wl.vid, wl.wstat, extract('epoch' from wl.added) AS added|; my @join; if($o{what} =~ /vn/) { $select .= ', vr.title, vr.original'; |