Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 13b1d44

Browse files
committed
actually return a date
1 parent 0d00717 commit 13b1d44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

postsql.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@
131131
ret = new Date(ret)
132132
if (isNaN(ret.getTime())) ret = null;
133133

134+
return ret;
135+
134136
$$ LANGUAGE plv8 IMMUTABLE STRICT;
135137

136138

0 commit comments

Comments
 (0)