Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found via `codespell`
  • Loading branch information
tagliala committed Aug 16, 2024
1 parent 74d5e1d commit c00e3bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit c00e3bf

Please sign in to comment.