# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #123168]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=123168 >
hmmm, I've seen that before somewhere:
===SORRY!=== Error while compiling lib/Cache/Mem
With the latest parrot the tests in S19-command-line/dash-e.t pass on Mac OS X.
I unfudged the tests with commit
https://github.com/perl6/roast/commit/5d89b2877e and I'm closing this ticket
now.
Moritz (>):
> iirc there was a spec change.
>
> Let's check...
>
> $ ~/p6/specs (master)$ git log -p -S truncated
> commit 9d8bc5fe62dd38805d791c0351c85185d351290e
> Author: Carl Masak
> Date: Thu Jan 24 18:27:55 2013 +0100
>
> [S32/Temporal] spec DateTime.delta and Date.delta
>
> Clarif
Hi,
On 11/10/2014 01:39 PM, Steve Mynott wrote:
http://doc.perl6.org/type/Date says
my $c = Date.new('2012-12-24');
say $c.truncated-to(:year); # 2012-01-01
but this doesn't work and what's implemented appears to be "year"
rather than :year
$ perl6
my $c = Date.new('2012-12-24');
2012-1
http://doc.perl6.org/type/Date says
my $c = Date.new('2012-12-24');
say $c.truncated-to(:year); # 2012-01-01
but this doesn't work and what's implemented appears to be "year"
rather than :year
$ perl6
> my $c = Date.new('2012-12-24');
2012-12-24
> say $c.truncated-to("year")
2012-01-01
Whic