Skip to content

Commit

Permalink
Fix missing comment inside code block example (#6387)
Browse files Browse the repository at this point in the history
  • Loading branch information
faustinoaq authored and Serdar Dogruyol committed Jul 16, 2018
1 parent 466e0a2 commit c6f4fd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/time.cr
Expand Up @@ -37,12 +37,12 @@ require "crystal/system/time"
#
# ```
# time = Time.utc(2016, 2, 15, 10, 20, 30)
# time.to_s # => 2016-02-15 10:20:30 UTC
# time.to_s # => 2016-02-15 10:20:30 UTC
# time = Time.new(2016, 2, 15, 10, 20, 30, location: Time::Location.load("Europe/Berlin"))
# time.to_s # => 2016-02-15 10:20:30 +01:00 Europe/Berlin
# The time-of-day can be omitted and defaults to midnight (start of day):
# time.to_s # => 2016-02-15 10:20:30 +01:00 Europe/Berlin
# # The time-of-day can be omitted and defaults to midnight (start of day):
# time = Time.utc(2016, 2, 15)
# time.to_s # => 2016-02-15 00:00:00 UTC
# time.to_s # => 2016-02-15 00:00:00 UTC
# ```
#
# ### Retrieving Time Information
Expand Down

0 comments on commit c6f4fd9

Please sign in to comment.