diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-11-06 09:45:27 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-11-06 09:46:48 +0900 |
commit | 5251d189829abc405a5f0422b8874bab7cd79c46 (patch) | |
tree | 1cae3b28a210b24096a0060725d3abc1f58b5917 /test/ruby/test_syntax.rb | |
parent | aa94245a09887f95bc0cd353b3462108d76d13ed (diff) | |
download | ruby-5251d189829abc405a5f0422b8874bab7cd79c46.tar.gz |
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"]
```
Diffstat (limited to 'test/ruby/test_syntax.rb')
0 files changed, 0 insertions, 0 deletions