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

Fix typos #106

Merged
merged 1 commit into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Fugit tries to follow the `man 5 crontab` documentation.

There is a surprising thing about this canon, all the columns are joined by ANDs, except for monthday and weekday which are joined together by OR if they are both set (they are not `*`).

Many people (me included) [are suprised](https://superuser.com/questions/428807/run-a-cron-job-on-the-first-monday-of-every-month) when they try to specify "at 05:00 on the first Monday of the month" as `0 5 1-7 * 1` or `0 5 1-7 * mon` and the results are off.
Many people (me included) [are surprised](https://superuser.com/questions/428807/run-a-cron-job-on-the-first-monday-of-every-month) when they try to specify "at 05:00 on the first Monday of the month" as `0 5 1-7 * 1` or `0 5 1-7 * mon` and the results are off.

The man page says:

Expand Down
4 changes: 2 additions & 2 deletions spec/cron_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1715,7 +1715,7 @@ class Fugit::Cron::TimeCursor

describe '#within' do

it 'returns all the occurences within a given time period' do
it 'returns all the occurrences within a given time period' do

c = Fugit.parse_cron('0 12 * * mon#2')

Expand All @@ -1736,7 +1736,7 @@ class Fugit::Cron::TimeCursor
end
end

it 'returns all the occurences within a start time and an end time' do
it 'returns all the occurrences within a start time and an end time' do

c = Fugit.parse_cron('0 12 * * mon#2')

Expand Down
Loading