summaryrefslogtreecommitdiff
path: root/lib/time.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-10-11 18:55:57 +0900
committergit <[email protected]>2024-10-11 09:59:35 +0000
commit047a7750d1064c9d13811f3498325f4d2101b681 (patch)
tree21b1f7b71d68976e1ce901c3d906d1550e4d971c /lib/time.rb
parentaad4bfd7bc1170394fcedf1997d644f8374ad7b0 (diff)
[ruby/time] [DOC] Escape the word "Date" that does not mean Date class
https://github.com/ruby/time/commit/933eccf8d9
Diffstat (limited to 'lib/time.rb')
-rw-r--r--lib/time.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/time.rb b/lib/time.rb
index 7cb3a09482..c06e97e74f 100644
--- a/lib/time.rb
+++ b/lib/time.rb
@@ -407,7 +407,7 @@ class Time
# %c :: The preferred local date and time representation
# %C :: Century (20 in 2009)
# %d :: Day of the month (01..31)
- # %D :: Date (%m/%d/%y)
+ # %D :: \Date (%m/%d/%y)
# %e :: Day of the month, blank-padded ( 1..31)
# %F :: Equivalent to %Y-%m-%d (the ISO 8601 date format)
# %g :: The last two digits of the commercial year