Skip to content

Commit 517ad28

Browse files
committed
Forgot to remove debugging cmds
1 parent 233b70d commit 517ad28

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/parsers.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ function pad (p,num) {
5555
}
5656

5757
exports.formatDateForPostgres = function(d, OID) {
58-
error("formatting for postgres: " +d);
5958
var date='',time='',tz='';
6059
switch(OID) {
6160
case oids.TIMESTAMPTZ:
@@ -68,7 +67,5 @@ exports.formatDateForPostgres = function(d, OID) {
6867
time = [pad('0',d.getHours()),pad('0',d.getMinutes()),pad('0',d.getSeconds())].join(':');
6968
}
7069

71-
error("formatted: "+(date + ((time=='')?'':' ') + time + ((tz=='')?'':' ') + tz));
72-
7370
return date + ((time=='')?'':' ') + time + ((tz=='')?'':' ') + tz;
7471
}

0 commit comments

Comments
 (0)