mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Add links about timezones
This commit is contained in:
parent
24e0b185ab
commit
9d7ac1ba1c
2 changed files with 4 additions and 2 deletions
2
timev.rb
2
timev.rb
|
@ -66,7 +66,7 @@
|
|||
#
|
||||
# Time.new(2002, 10, 31, 2, 2, 2, "+02:00") #=> 2002-10-31 02:02:02 +0200
|
||||
#
|
||||
# Or a timezone object:
|
||||
# Or {a timezone object}[rdoc-ref:timezones.rdoc@Timezone+Objects]:
|
||||
#
|
||||
# zone = timezone("Europe/Athens") # Eastern European Time, UTC+2
|
||||
# Time.new(2002, 10, 31, 2, 2, 2, zone) #=> 2002-10-31 02:02:02 +0200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue