From 66ec94d546489eb68b46be7033a5b2f0f81e7a29 Mon Sep 17 00:00:00 2001 From: okkez Date: Mon, 3 Dec 2018 02:34:23 +0000 Subject: [PATCH] time.rb: remove the unsupported formatting options from the document [ci skip] Time.strptime does not support %3N, %6N, and %9N. close [Bug #15322] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/time.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/time.rb b/lib/time.rb index b9913c19cd..139f057fdd 100644 --- a/lib/time.rb +++ b/lib/time.rb @@ -398,10 +398,7 @@ class Time # %m :: Month of the year (01..12) # %M :: Minute of the hour (00..59) # %n :: Newline (\n) - # %N :: Fractional seconds digits, default is 9 digits (nanosecond) - # %3N :: millisecond (3 digits) - # %6N :: microsecond (6 digits) - # %9N :: nanosecond (9 digits) + # %N :: Fractional seconds digits (nanosecond) # %p :: Meridian indicator ("AM" or "PM") # %P :: Meridian indicator ("am" or "pm") # %Q :: Number of milliseconds since 1970-01-01 00:00:00 UTC.