Actions
Bug #20797
closedUTC offset seconds part is not checked
Bug #20797:
UTC offset seconds part is not checked
Description
While this raise ArgumentError:
Time.new(2024, 12, 25, 0, 0, 0, "+09:99") # ... expected for utc_offset (ArgumentError)
This is obviously weird.
Time.new(2024, 12, 25, 0, 0, 0, "+09:00:99").strftime("%::z") #=> "+09:01:39"
The latter should be an error as well as the former.
Actions