-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
report/log: add lunar start time options 🌔 #215
Conversation
That's a wonderful feature 😉 Can you please fix formatting issues (see travis job output)? |
All 💚 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, thank you for this!
tests/test_fullmoon.py
Outdated
|
||
aniceday_result = get_last_full_moon(aniceday) | ||
|
||
assert aniceday_result == aniceday_lastMoon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the two empty lines above?
docs/user-guide/commands.md
Outdated
-----|----- | ||
`-f, --from DATE` | Date and time of start of tracked activity [required] | ||
`-t, --to DATE` | Date and time of end of tracked activity [required] | ||
`--help` | Show this message and exit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this should not be part of this PR, but was missing...
@jmaupetit Done. I will squash a last time before you merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌕
supplying --luna (e.g. instead of --month), the last full moon will be taken as the start date of the summary. The start date of a lunar month is not fixed, some cultures use the new moon (chinese), some use the full moon (hindu) and some use the first sight of the crescent (jewish / hebrew). I implemented the full moon calendar because today is a full moon and a total lunar eclipse. My hope is to adjust my work load according the moon cycle. Peace.
@jmaupetit @k4nar squashed and still green |
Added: - New `add` command (#202) - Add lunar start time options to the `report` and `log` commands (#215) - Aggregate reports by day (#231) - Fish shell completion (#239) - Add support for first day of the week configuration in reports and logs (#240) - Python 3.7 support (#241) - Add `start --no-gap` and `stop --at` options (#254) Changed: - The `edit` command now checks data consistency (#203) - Current state saving is now improve when using Watson as a library (#214) - Prevent calling `get_start_time_for_period` multiple times (#219) Fixed: - Improved support for UTF-8 with Python 2 (#211) - Zsh completion for tags and projects with spaces in their names (#227) - Typos in commands output (#230, #235) - Project URL of the project in PyPI (#260) Removed: - Python 3.3 support (#210).
Added: - New `add` command (#202) - Add lunar start time options to the `report` and `log` commands (#215) - Aggregate reports by day (#231) - Fish shell completion (#239) - Add support for first day of the week configuration in reports and logs (#240) - Python 3.7 support (#241) - Add `start --no-gap` and `stop --at` options (#254) Changed: - The `edit` command now checks data consistency (#203) - Current state saving is now improve when using Watson as a library (#214) - Prevent calling `get_start_time_for_period` multiple times (#219) Fixed: - Improved support for UTF-8 with Python 2 (#211) - Zsh completion for tags and projects with spaces in their names (#227) - Typos in commands output (#230, #235) - Project URL of the project in PyPI (#260) Removed: - Python 3.3 support (#210).
Added: - New `add` command (#202) - Add lunar start time options to the `report` and `log` commands (#215) - Aggregate reports by day (#231) - Fish shell completion (#239) - Add support for first day of the week configuration in reports and logs (#240) - Python 3.7 support (#241) - Add `start --no-gap` and `stop --at` options (#254) Changed: - The `edit` command now checks data consistency (#203) - Current state saving is now improve when using Watson as a library (#214) - Prevent calling `get_start_time_for_period` multiple times (#219) Fixed: - Improved support for UTF-8 with Python 2 (#211) - Zsh completion for tags and projects with spaces in their names (#227) - Typos in commands output (#230, #235) - Project URL of the project in PyPI (#260) Removed: - Python 3.3 support (#210).
supplying --luna (e.g. instead of --month), the last full moon
will be taken as the start date of the summary.
The start date of a lunar month is not fixed, some cultures use
the new moon (chinese), some use the full moon (hindu) and some
use the first sight of the crescent (jewish / hebrew).
I implemented the full moon calendar because today is a full moon
and a total lunar eclipse.
My hope is to adjust my work load according the moon cycle.
Peace.