[前][次][番号順一覧][スレッド一覧]

ruby-changes:53925

From: okkez <ko1@a...>
Date: Mon, 3 Dec 2018 11:34:27 +0900 (JST)
Subject: [ruby-changes:53925] okkez:r66145 (trunk): time.rb: remove the unsupported formatting options from the document [ci skip]

okkez	2018-12-03 11:34:23 +0900 (Mon, 03 Dec 2018)

  New Revision: 66145

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66145

  Log:
    time.rb: remove the unsupported formatting options from the document [ci skip]
    
    Time.strptime does not support %3N, %6N, and %9N.
    
    close [Bug #15322]

  Modified files:
    trunk/lib/time.rb
Index: lib/time.rb
===================================================================
--- lib/time.rb	(revision 66144)
+++ lib/time.rb	(revision 66145)
@@ -398,10 +398,7 @@ class Time https://github.com/ruby/ruby/blob/trunk/lib/time.rb#L398
     # %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.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]