diff options
author | okkez <okkez@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-03 02:34:23 +0000 |
---|---|---|
committer | okkez <okkez@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-03 02:34:23 +0000 |
commit | 66ec94d546489eb68b46be7033a5b2f0f81e7a29 (patch) | |
tree | 28f13e7896da83454ea05eca70519c4562e58113 /lib/time.rb | |
parent | 1c26ca1e7e7ce6483a617fbcb37518293b6aa037 (diff) |
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
Diffstat (limited to 'lib/time.rb')
-rw-r--r-- | lib/time.rb | 5 |
1 files changed, 1 insertions, 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. |