org graphs and relevant test fixed

This commit is contained in:
Finn 2017-12-14 17:25:00 +00:00
parent 9594f9f746
commit 12bd6b3ec9
2 changed files with 4 additions and 4 deletions

View file

@ -127,10 +127,10 @@ sub _sales_last_duration {
my ( $start, $end ) = $c->_get_start_end_duration( $duration );
$data->{bounds} = (
$data->{bounds} = {
min => $c->format_iso_datetime( $start ),
max => $c->format_iso_datetime( $end ),
);
};
while ( $start < $end ) {
my $next_end = $start->clone->add( days => 1 );