# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #111356] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=111356 >
<gfldex> there are a few things missing in Temporal, though <gfldex> like Date.new(now); <gfldex> you have to do Date.new(DateTime.now) <masak> how about Date.today? <masak> if it's missing, that's an omission :) <masak> yeah, I want Date.today. that makes perfect sense. <masak> nom: say Date.today <p6eval> nom 9d39e8: OUTPUT«2012-02-26» <masak> oh! there it is! :) <masak> we could add Date.now as a synonym, but that feels only half-important. <gfldex> nom: say Date.new(now); <p6eval> nom 9d39e8: OUTPUT«Default constructor only takes named arguments [...] <masak> nom: say Date(now) <p6eval> nom 9d39e8: OUTPUT«Method 'Date' not found for invocant of class 'Instant' [...] <masak> arguably that should work. * masak submits rakudobug <jnthn> masak: You implement method postcircumfix:<( )> in Date. <masak> ooh <jnthn> I'm pretty sure I already wired up that case :)