mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Time#strftime does not support %Q
``` % ruby -r date -e 't=Time.utc(2001,2,3,4,5,6,7);p t; p [t, t.to_date, t.to_datetime].map{|d|d.strftime("%Q")}' 2001-02-03 04:05:06.000007 UTC ["%Q", "981158400000", "981173106000"] ```
This commit is contained in:
parent
aa94245a09
commit
5251d18982
1 changed files with 0 additions and 1 deletions
|
@ -410,7 +410,6 @@ class Time
|
|||
# %N :: Fractional seconds digits
|
||||
# %p :: Meridian indicator ("AM" or "PM")
|
||||
# %P :: Meridian indicator ("am" or "pm")
|
||||
# %Q :: Number of milliseconds since 1970-01-01 00:00:00 UTC.
|
||||
# %r :: time, 12-hour (same as %I:%M:%S %p)
|
||||
# %R :: time, 24-hour (%H:%M)
|
||||
# %s :: Number of seconds since 1970-01-01 00:00:00 UTC.
|
||||
|
|
Loading…
Add table
Reference in a new issue