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

replace pretty_cron with cron_descriptor #83

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

HarHarLinks
Copy link
Collaborator

@HarHarLinks HarHarLinks commented May 22, 2021

Probably resolves #73 - assuming this library never has to fall back to cron syntax as the old one did.
Narrator: It didn't.

My example there was 0 11,20 * * * which the new lib words as "'At 11:00 and 20:00". I chose the 24hour format specifically to match the crontab better, but feel free to ignore that commit.

On a side note, this lib supports a couple localized output formats, if the bot is ever going to support that.

Perhaps it should still check for and escape * which are not in code blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cron reminders with * in them get parsed as markdown
1 participant