On Wed Jul 30 10:59:43 2014, duff wrote:
> On Fri May 30 08:20:25 2014, masak wrote:
> > <BenGoldberg> Woodi, a Date is like today, or tommorroy, or June 4,
> > 1977
> > <BenGoldberg> A DateTime is like Friday May 30, 2014 11:11 AM and
> > 3.141592 seconds.
> > <masak> Woodi: though not strictly necessary, Date is there for two
> > very good reasons:
> > <BenGoldberg> Each Date object refers to a range of real-world times.
> > One can probably write if( $some-date.contains($some-datetime) ), or
> > something similar.
> > <masak> m: my $now = DateTime.now; my $today = Date.today; say $now
> > ~~
> > $today
> > <camelia> rakudo-moar 90cd58: OUTPUT«False␤»
> > * masak submits rakudobug
> > <masak> BenGoldberg: that's how you'd write it, IMO.
> >
> > The above should return True, of course.
> 
> See https://github.com/rakudo/rakudo/commit/509b1a4e9d and
> https://github.com/perl6/roast/commit/d5bf9b7f44
> 
> -Scott

Since this is implemented and tested in roast, I'm closing this ticket.


Reply via email to