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

Add option to use daily goal instead of monthly goal #8

Merged
merged 2 commits into from
Jan 11, 2018

Conversation

sam-e-ch
Copy link
Contributor

If you're working full time, configuring a monthly goal isn't really useful.
It makes more sense to use a daily goal and calculate the monthly from it, since not all months have equal workdays.

lib/config.rb Outdated

# @return [Symbol]
option :goal_type,
"Whether you want the stats do use the daily or monthly goal.",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to use

@rathrio
Copy link
Owner

rathrio commented Jan 11, 2018

Awesome! Thanks ❤️

LGTM besides minor typo. Will merge afterwards.

@sam-e-ch
Copy link
Contributor Author

The typo is fixed 🦄

@rathrio rathrio merged commit 8675a14 into rathrio:master Jan 11, 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

Successfully merging this pull request may close these issues.

2 participants