1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] use the local rdoc reference than the external URI

This commit is contained in:
Nobuyoshi Nakada 2022-10-11 16:25:09 +09:00
parent 1dd774f53a
commit 1a66d42fca
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

2
time.c
View file

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