1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
Jeremy Evans a9d4f2d03c Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime
Most of these formats were documented as supported, but were not
actually supported. Document that %g and %G are supported.

If %U/%W is specified without yday and mon/mday are not specified,
then Date.strptime is used to get the appropriate yday.

If cwyear is specifier without the year, or cwday and cweek are
specified without mday and mon, then use Date.strptime and convert
the resulting value to Time, since Time.make_time cannot handle
those conversions

Fixes [Bug #9836]
Fixes [Bug #14241]
2019-11-21 03:32:20 +02:00
..
benchmark Promote benchmark to default gems 2019-11-07 16:36:14 +09:00
bundler Merge Bundler 2.1.0.pre3 released version 2019-11-13 10:19:51 +09:00
cgi Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
csv Import CSV 3.1.2 (#2547) 2019-10-12 14:03:21 +09:00
delegate Promote delegate to default gems 2019-11-07 16:36:14 +09:00
drb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
e2mmap Revert "Fixed the require path for e2mmap version file." 2019-10-24 16:17:17 +09:00
fileutils [ruby/fileutils] Bump version to 1.3.0. 2019-09-27 11:39:02 +09:00
forwardable [ruby/forwardable] Use Gemfile instead of Gem::Specification#add_development_dependency. 2019-10-26 09:26:51 +09:00
getoptlong Promote getoptlong to default gems 2019-11-07 16:36:14 +09:00
irb Version 1.1.0 2019-11-21 07:04:40 +09:00
logger
matrix
net Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
observer Promote observer to default gems. But not yet released 2019-11-09 07:32:34 +09:00
open3 Promote open3 to default gems 2019-11-07 07:16:27 +09:00
optparse
pstore Promote pstore to default gems 2019-11-07 16:36:14 +09:00
racc Fix typos 2019-11-17 13:11:25 +09:00
rdoc [ruby/rdoc] Support different drive latters in include paths 2019-10-29 12:34:44 +09:00
reline [ruby/reline] Version 0.0.7 2019-11-21 07:14:27 +09:00
rexml [ruby/rexml] Only taint on Ruby <2.7 2019-11-18 01:00:25 +02:00
rinda
rss [ruby/rss] Only check taint on Ruby <2.7 2019-11-18 01:00:25 +02:00
rubygems Fix a typo 2019-11-13 15:04:49 +09:00
singleton Promote singleton to default gems 2019-11-07 07:16:26 +09:00
timeout Promote timeout to default gems 2019-11-09 07:32:34 +09:00
tracer [ruby/tracer] Use Gemfile instead of Gem::Specification#add_development_dependency. 2019-10-25 09:29:10 +09:00
unicode_normalize
uri Revert "Revert "Promote uri to default gems"" 2019-11-11 22:21:43 +09:00
webrick [ruby/webrick] Don't check tainting in access log escaping 2019-10-24 19:47:29 +09:00
yaml Remove YAML::VERSION because it conflicts with Psych::VERSION 2019-11-09 11:08:24 +09:00
.document
abbrev.rb
base64.rb
benchmark.rb
bundler.rb Merge Bundler 2.1.0.pre.3 2019-11-11 18:56:25 +09:00
cgi.rb
csv.rb Import CSV 3.1.2 (#2547) 2019-10-12 14:03:21 +09:00
debug.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
delegate.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
drb.rb
e2mmap.rb
English.rb
erb.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
fileutils.rb [ruby/fileutils] Remove use of untaint on Ruby 2.7 to avoid deprecation warnings 2019-10-31 15:41:46 +09:00
find.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
forwardable.rb [ruby/forwardable] Remove string allocation in def_{instance,single}_delegators 2019-10-26 09:25:11 +09:00
getoptlong.rb
ipaddr.gemspec
ipaddr.rb
irb.rb Use singleline/multiline instead of readline/reidline 2019-11-21 02:44:35 +09:00
logger.rb
matrix.rb
mkmf.rb Added link_command for C++ 2019-09-19 19:06:18 +09:00
mutex_m.gemspec
mutex_m.rb
observer.rb
open-uri.rb open-uri: change global docs to reflect that URI.open syntax is preferred 2019-10-26 10:24:20 -07:00
open3.rb
optionparser.rb
optparse.rb Revert "Method reference operator" 2019-11-12 17:24:48 +09:00
ostruct.gemspec
ostruct.rb
pp.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
prettyprint.rb
prime.gemspec
prime.rb
pstore.rb Make rb_scan_args handle keywords more similar to Ruby methods (#2460) 2019-09-25 11:18:49 -07:00
racc.rb
rdoc.rb
readline.gemspec Added gemspec for readline gem that is wrapper library for reline and readline extension 2019-11-09 07:32:34 +09:00
readline.rb Suppress duplicated "require 'reline'" 2019-10-23 23:59:53 +09:00
reline.rb Change argument Proc to #call defined object. 2019-11-21 00:47:37 +09:00
resolv-replace.rb
resolv.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
rss.rb
rubygems.rb Merge released version of RubyGems 3.1.0.pre3 2019-11-13 10:36:08 +09:00
securerandom.rb
set.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
shellwords.rb Use \& instead of \1 with capture 2019-10-17 12:51:29 +09:00
singleton.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
tempfile.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
time.rb Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime 2019-11-21 03:32:20 +02:00
timeout.rb
tmpdir.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
tracer.rb
tsort.rb
un.rb Use double splat for keyword args by a hash object in lib/un.rb 2019-08-31 20:55:35 +09:00
uri.rb Revert "Revert "Promote uri to default gems"" 2019-11-11 22:21:43 +09:00
weakref.rb
webrick.rb
yaml.rb