We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 290996e commit 3d18681Copy full SHA for 3d18681
lib/PostgresTools/Date.pm
@@ -71,7 +71,7 @@ sub older_than {
71
open( my $STDOLD, '>&', STDERR );
72
open( STDERR, '>>', '/dev/null' );
73
my $now = dclone( $self->_now_ );
74
- open( STDOUT, '>&', $STDOLD );
+ open( STDERR, '>&', $STDOLD );
75
my $duration = DateTime::Duration->new( days => $offset );
76
my $old_date = $now->subtract_duration($duration);
77
return $date->subtract_datetime($old_date)->is_negative;
@@ -98,7 +98,7 @@ sub offset2date {
98
99
100
101
102
return $now->subtract_duration($duration);
103
}
104
0 commit comments