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

LTA Instant stringification in Rakudo #2159

Closed
p6rt opened this issue Sep 12, 2010 · 5 comments
Closed

LTA Instant stringification in Rakudo #2159

p6rt opened this issue Sep 12, 2010 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 12, 2010

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

Searchable as RT77802$

@p6rt
Copy link
Author

p6rt commented Sep 12, 2010

From @masak

<jnthn> oh heh
<jnthn> > now
<jnthn> (DateTime.new(year => 1970).Instant + 1284297974.875)
<masak> urgh :)
<jnthn> Surely we can stringify a bit more usefull than that? :-)
<masak> "it's 1970 and then some"
* masak submits rakudobug
<tadzik> . o O ( [BUG] now() could be smarter )
<masak> tadzik​: [BUG] LTA DateTime.perl in Rakudo
<masak> tadzik​: nothing to do with now()

@p6rt
Copy link
Author

p6rt commented Sep 12, 2010

From @masak

On Sun Sep 12 06​:30​:35 2010, masak wrote​:

<jnthn> oh heh
<jnthn> > now
<jnthn> (DateTime.new(year => 1970).Instant + 1284297974.875)
<masak> urgh :)
<jnthn> Surely we can stringify a bit more usefull than that? :-)
<masak> "it's 1970 and then some"
* masak submits rakudobug
<tadzik> . o O ( [BUG] now() could be smarter )
<masak> tadzik​: [BUG] LTA DateTime.perl in Rakudo
<masak> tadzik​: nothing to do with now()

It's actually not DateTime.perl that's involved, as I first thought. The stringification above comes
from Instant. Changed the ticket subject to reflect this.

@p6rt
Copy link
Author

p6rt commented Sep 12, 2010

@masak - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Sep 16, 2010

From @Kodiologist

As of 529f54622a067e1de4d1, Instants stringify to something like
'Instant​:2010-09-16T22​:08​:23.719086Z'. If this is insufficiently awesome
for your purposes, please reopen the ticket.

@p6rt
Copy link
Author

p6rt commented Sep 16, 2010

@Kodiologist - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Sep 16, 2010
@p6rt p6rt added the Bug 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