Skip to content

Commit

Permalink
Fix comment and typo in pending spec
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 30, 2017
1 parent 3155453 commit 0a47de5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spec/std/time/time_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ describe Time do
with_zoneinfo do
location = Time::Location.load("Europe/Berlin")
reference = Time.new(2017, 10, 28, 13, 37, location: location)
next_day = Time.new(2017, 10, 28, 13, 37, location: location)
next_day = Time.new(2017, 10, 29, 13, 37, location: location)

(reference + 1.day).should eq next_day
end
Expand Down
5 changes: 2 additions & 3 deletions src/time/location/loader.cr
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ class Time::Location
end

# Parse "zoneinfo" time zone file.
# This is a fairly standard file format used on OS X, Linux, BSD, Sun, and others.
# See tzfile(5), http:#en.wikipedia.org/wiki/Zoneinfo,
# and ftp:#munnari.oz.au/pub/oldtz/
# This is the standard file format used by most operating systems.
# See https://data.iana.org/time-zones/tz-link.html, https://github.com/eggert/tz, tzfile(5)

# :nodoc:
def self.read_zoneinfo(location_name, io)
Expand Down

0 comments on commit 0a47de5

Please sign in to comment.