summaryrefslogtreecommitdiff
path: root/lib/time.rb
diff options
context:
space:
mode:
authorArtur <[email protected]>2024-03-06 19:44:51 +0300
committergit <[email protected]>2024-04-19 10:32:04 +0000
commite133d0c7a117ad8e7001ccccf694c51695c60051 ()
tree35a0705eccd896a669f0713edfa5dde311bac84a /lib/time.rb
parent7951b349ab6b9b5889b90f6fa7f9bbb304ec09fd (diff)
[ruby/time] Document exception thrown by `Time.strptime`
https://.com/ruby/time/commit/f9d078082f
-rw-r--r--lib/time.rb2
1 files changed, 2 insertions, 0 deletions
@@ -391,6 +391,8 @@ class Time
# heuristic to detect the format of the input string, you provide
# a second argument that describes the format of the string.
#
# If a block is given, the year described in +date+ is converted by the
# block. For example:
#