Actions
Bug #12825
closedTime.parse doesn't work when using T as time delimiter and only hours are specified
Bug #12825:
Time.parse doesn't work when using T as time delimiter and only hours are specified
Description
When using the T delimiter instead of \s the hour isn't parsed correctly.
require 'time'
Time.parse('2000-01-01T10') # => 2000-01-01 00:00:00 +0100
Time.parse('2000-01-01 10') # => 2000-01-01 10:00:00 +0100
When the minutes are defined everything works as expected.
Actions