Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hanami::Utils::String - value "diseappers" after calling Time.parse #1946

Closed
deepj opened this issue Mar 1, 2020 · 1 comment
Closed

Hanami::Utils::String - value "diseappers" after calling Time.parse #1946

deepj opened this issue Mar 1, 2020 · 1 comment
Assignees
Milestone

Comments

@deepj
Copy link

deepj commented Mar 1, 2020

To reproduce:

gem install hanami-utils
ruby -rhanami/utils/string -e 'input = Hanami::Utils::String.new(Time.now); p Time.parse(input); p Time.parse(input)'

Error:

~/.rubies/truffleruby-dev/lib/mri/time.rb:194:in `make_time': no time information in #<Hanami::Utils::String:0x1ae0 @string=" "> (ArgumentError)
	from ~/.rubies/truffleruby-dev/lib/mri/time.rb:375:in `parse'
	from -e:1:in `<main>'
@bjfish bjfish self-assigned this Mar 3, 2020
@bjfish
Copy link
Contributor

bjfish commented Mar 4, 2020

This is now fixed at: 182c1cf

@bjfish bjfish closed this as completed Mar 4, 2020
@bjfish bjfish added this to the 20.1.0 milestone Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants