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

DateTime.Date conversion in Rakudo #2889

Closed
p6rt opened this issue Sep 5, 2012 · 3 comments
Closed

DateTime.Date conversion in Rakudo #2889

p6rt opened this issue Sep 5, 2012 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 5, 2012

Migrated from rt.perl.org#114758 (status was 'resolved')

Searchable as RT114758$

@p6rt
Copy link
Author

p6rt commented Sep 5, 2012

From @masak

<masak> r​: say DateTime.new.Date
<p6eval> rakudo cc1858​: OUTPUT«Cannot unbox a type object as a native int [...]
<masak> oh wow.
<masak> we have some ways to go to get proper type conversion.
<masak> a DateTime should effortlessly convert to a Date, IMO.
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jan 4, 2013

From @moritz

coercion fixed, and tested in S32-temporal/DateTime.t.

@p6rt
Copy link
Author

p6rt commented Jan 4, 2013

@moritz - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jan 4, 2013
@p6rt p6rt added the Todo label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant