summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-11 16:25:09 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-11 16:25:09 +0900
commit1a66d42fca86b1d47f91cf9de1443c72785fe222 (patch)
treee969d74981550affe8cc5894021333e9c98eb05f /time.c
parent1dd774f53ac0043692bf0673df866ef419d8a987 (diff)
downloadruby-1a66d42fca86b1d47f91cf9de1443c72785fe222.tar.gz
[DOC] use the local rdoc reference than the external URI
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index b3ad415935..b16a086537 100644
--- a/time.c
+++ b/time.c
@@ -4030,7 +4030,7 @@ static VALUE strftime_cstr(const char *fmt, size_t len, VALUE time, rb_encoding
* Returns a string representation of +self+,
* formatted by <tt>strftime('%a %b %e %T %Y')</tt>
* or its shorthand version <tt>strftime('%c')</tt>;
- * see {Formats for Dates and Times}[https://docs.ruby-lang.org/en/master/strftime_formatting_rdoc.html]:
+ * see {Formats for Dates and Times}[rdoc-ref:strftime_formatting.rdoc]:
*
* t = Time.new(2000, 12, 31, 23, 59, 59, 0.5)
* t.ctime # => "Sun Dec 31 23:59:59 2000"