Skip to content

Commit

Permalink
Correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jmettraux committed Aug 17, 2024
1 parent bda9393 commit fb27fab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Peter Goldstein, https://github.com/petergoldstein GHA 3.3 j9.3, gh-32
* harsha-flipp https://github.com/harsha-flipp https://github.com/floraison/fugit/issues/63
* adank92 https://github.com/adank92 https://github.com/ondrejbartas/sidekiq-cron/issues/276 gh-28
* Stan Hu https://github.com/stanhu Chronic toubles, gh-24, gh-26, etc
* Stan Hu https://github.com/stanhu Chronic troubles, gh-24, gh-26, etc
* d-m-u https://github.com/d-m-u EoTime#==(Time), gh-20, gh-7
* Vais Salikhov (https://github.com/vais) missing US timezone aliases, gh-18 gh-19
* Wenhui Wang https://github.com/w11th .parse vs Chronic+ActiveSupport, fugit 11
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ eot = EtOrbi::EoTime.new(0, 'Europe/Moscow')
eot.to_local_time.class # => Time
eot.to_local_time.to_s # => "1970-01-01 09:00:00 +0900" (at least on my system)

# For the rest, EtOrbi::EoTime mimicks ::Time
# For the rest, EtOrbi::EoTime mimics ::Time
```

Helper methods:
Expand Down
2 changes: 1 addition & 1 deletion lib/et-orbi/zones.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def determine_local_tzone
tz = (etz && tzs.find { |z| z.name == etz }) || tzs.first
return tz if tz

# then, fall back to GMT offest :-(
# then, fall back to GMT offset :-(

n = Time.now

Expand Down
2 changes: 1 addition & 1 deletion spec/module_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ class << t; def zone; 'ECT'; end; end
end
end

it 'rejects unparseable input' do
it 'rejects unparsable input' do

expect {
EtOrbi.make_time('xxx')
Expand Down

0 comments on commit fb27fab

Please sign in to comment.