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 strftime('%a %b %e %T %Y')
* or its shorthand version strftime('%c');
- * 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"