1
0
Fork 0
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:
Nobuyoshi Nakada 2022-08-22 23:14:29 +09:00
parent 13d31331c8
commit f99904341e
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
4 changed files with 4 additions and 4 deletions

View file

@ -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].

View file

@ -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
View file

@ -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].
*
*/

View file

@ -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