[Feature #18033] Make Time.new parse time strings - #4825
Merged
Conversation
nobu
force-pushed
the
Time.new-string
branch
2 times, most recently
from
September 20, 2021 08:33
314f8b3 to
ffdc20b
Compare
nobu
force-pushed
the
Time.new-string
branch
2 times, most recently
from
October 24, 2021 12:00
9841fb9 to
875d6e3
Compare
nobu
force-pushed
the
Time.new-string
branch
2 times, most recently
from
December 4, 2021 07:43
784abf6 to
38a0934
Compare
nobu
force-pushed
the
Time.new-string
branch
from
November 17, 2022 15:21
38a0934 to
3e81617
Compare
akr
reviewed
Nov 17, 2022
nobu
force-pushed
the
Time.new-string
branch
2 times, most recently
from
November 18, 2022 05:50
4a99539 to
dda1058
Compare
akr
reviewed
Nov 18, 2022
nobu
force-pushed
the
Time.new-string
branch
2 times, most recently
from
November 20, 2022 07:14
f77febf to
c4e66a6
Compare
nobu
force-pushed
the
Time.new-string
branch
from
November 29, 2022 02:11
c4e66a6 to
1841718
Compare
nobu
force-pushed
the
Time.new-string
branch
from
December 10, 2022 16:11
1841718 to
29bdcf1
Compare
akr
reviewed
Dec 12, 2022
nobu
force-pushed
the
Time.new-string
branch
from
December 16, 2022 01:45
4f2a188 to
ce1ea34
Compare
`Time.new` now parses strings such as the result of `Time#inspect` and restricted ISO-8601 formats.
Which limits the precision of subsecond. Defaulted to 9, that means nanosecond.
* 4-digits or more is required as year * Minutes and seconds parts are not ommittable
nobu
force-pushed
the
Time.new-string
branch
from
December 16, 2022 11:43
ce1ea34 to
125ac21
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Time.newnow parses strings such as the result ofTime#inspectand restricted ISO-8601 formats.Benchmarks: Iteration per second (i/s)