From 047a7750d1064c9d13811f3498325f4d2101b681 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 11 Oct 2024 18:55:57 +0900 Subject: [PATCH] [ruby/time] [DOC] Escape the word "Date" that does not mean Date class https://github.com/ruby/time/commit/933eccf8d9 --- lib/time.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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