Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant argument in printf at Core.pm line 320 #16

Closed
ob7 opened this issue Nov 3, 2015 · 1 comment
Closed

Redundant argument in printf at Core.pm line 320 #16

ob7 opened this issue Nov 3, 2015 · 1 comment

Comments

@ob7
Copy link

ob7 commented Nov 3, 2015

I've had to change:
$self->beautify_seconds( delete $data->{'_total'} ), ''
to:
$self->beautify_seconds( delete $data->{'_total'} )
To make tracker report --this day do so without saying:
Redundant argument in printf at /perl5/lib/perl5/App/TimeTracker/Command/Core.pm line 320.
Every other line in the print out.
So I'm not sure what the extra argument is for, but it prints report just fine with no errors when I remove the last argument being passed to print from the report command in Core.

domm added a commit that referenced this issue Jan 16, 2016
@domm
Copy link
Owner

domm commented Jan 16, 2016

Thanks!

I've fixed this by adapting the printf-fromat depending on whether the user wants to output some detail or not

@domm domm closed this as completed Jan 16, 2016
pepl pushed a commit to pepl/App-TimeTracker that referenced this issue Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants