diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-06-21 10:33:06 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-11-21 03:32:20 +0200 |
commit | a9d4f2d03c847ec1c89dc03a5076a9fa29ffa61f (patch) | |
tree | 85fc32549b43796e4f4388383ea5907f6c976022 /defs | |
parent | 8f1062127e40767240aa0a0fe18fd48687bc04e9 (diff) |
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]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2685
Diffstat (limited to 'defs')
0 files changed, 0 insertions, 0 deletions