summaryrefslogtreecommitdiff
path: root/rhimport-wl
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport-wl')
-rwxr-xr-xrhimport-wl3
1 files changed, 2 insertions, 1 deletions
diff --git a/rhimport-wl b/rhimport-wl
index 3b1daaa..072c771 100755
--- a/rhimport-wl
+++ b/rhimport-wl
@@ -98,7 +98,8 @@ for my $entry ($feed->entries) {
print "summary:\n" . $sum_title . "\n\n" . $sum_text . "\n";
- push(@PV_SCRIPT, sprintf("%04d-%02d-%02d", $today[0], $today[1], $today[2]));
+ my @tomorrow = Date::Calc::Add_Delta_Days($today[0], $today[1], $today[2], 1);
+ push(@PV_SCRIPT, sprintf("%04d-%02d-%02d", $tomorrow[0], $tomorrow[1], $tomorrow[2]));
my ($reader, $writer, $error ) = ( new IO::Handle, new IO::Handle, new IO::Handle );
$writer->autoflush(1);
local $SIG{CHLD} = 'DEFAULT';