smithfarm / dochazka-cli

Dochazka CLI client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

INTERVAL DELETE spouts Use of uninitialized value $count in concatenation #20

Closed smithfarm closed 8 years ago

smithfarm commented 8 years ago
Dochazka(2016-01-05) active ACTIVE> interval 8:00-9:00 work Slaving over Dochazka
Recognized command INTERVAL _TIMERANGE _TERM
Entering App::Dochazka::CLI::Commands::Interval::interval_new_timerange
{
  'INTERVAL' => 'interval',
  '_REST' => 'Slaving over Dochazka',
  '_TIMERANGE' => '8:00-9:00',
  '_TERM' => 'work'
}
tsrange: [ 2016-01-05 08:00, 2016-01-05 09:00 )
Interval IID 2
["2016-01-05 08:00:00+01","2016-01-05 09:00:00+01") WORK Slaving over Dochazka

Dochazka(2016-01-05) active ACTIVE> interval delete
Recognized command INTERVAL DELETE
Entering App::Dochazka::CLI::Commands::Interval::interval_promptdate
{
  'DELETE' => 'delete',
  '_REST' => '',
  'INTERVAL' => 'interval'
}
Use of uninitialized value $count in concatenation (.) or string at /usr/lib/perl5/site_perl/5.20.1/App/Dochazka/CLI/Commands/Interval.pm line 641, <STDIN> line 2.
 intervals deleted in range [ 2016-01-05 00:00, 2016-01-05 24:00 )

Despite the weird output, the interval really is deleted.