mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Remove extra page-dir prefix
This commit is contained in:
parent
13d31331c8
commit
f99904341e
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
- <tt>in: zone</tt>: a timezone +zone+.
|
||||
|
||||
For forms of argument +zone+, see
|
||||
{Timezone Specifiers}[rdoc-ref:doc/timezone_specifiers.rdoc].
|
||||
{Timezone Specifiers}[rdoc-ref:timezone_specifiers.rdoc].
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
- <tt>in: zone</tt>: a timezone +zone+.
|
||||
|
||||
For forms of +zone+, see
|
||||
{Timezone Specifiers}[rdoc-ref:doc/timezone_specifiers.rdoc].
|
||||
{Timezone Specifiers}[rdoc-ref:timezone_specifiers.rdoc].
|
||||
|
|
2
time.c
2
time.c
|
@ -3796,7 +3796,7 @@ time_zonelocal(VALUE time, VALUE off)
|
|||
* t.localtime("-09:00") # => 2000-01-01 11:15:01 -0900
|
||||
*
|
||||
* For forms of argument +zone+, see
|
||||
* {Timezone Specifiers}[rdoc-ref:doc/timezone_specifiers.rdoc].
|
||||
* {Timezone Specifiers}[rdoc-ref:timezone_specifiers.rdoc].
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
2
timev.rb
2
timev.rb
|
@ -218,7 +218,7 @@ class Time
|
|||
# Time.now(in: '+04:00') # => 2009-06-24 07:39:54 +0400
|
||||
#
|
||||
# For forms of argument +zone+, see
|
||||
# {Timezone Specifiers}[rdoc-ref:doc/timezone_specifiers.rdoc].
|
||||
# {Timezone Specifiers}[rdoc-ref:timezone_specifiers.rdoc].
|
||||
def self.now(in: nil)
|
||||
Primitive.time_s_now(Primitive.arg!(:in))
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue