[Glass] Year current previous error

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Tue Jan 5 10:31:30 PST 2016


Thanks Dario,

I've submitted an issue[1] and I will update glassdb shortly...

Dale


[1] https://github.com/GsDevKit/GsDevKit/issues/86

On 01/05/2016 06:43 AM, Trussardi Dario Romano via Glass wrote:
> because duration into 2016 is 366 days it return year instance 
> starting at 31 - 12 - 2014 with duration set to 365 days ( end at 30 - 
> 12 - 2015 )
>
>
> I copy into GLASS  the Pharo Year  previousimplementation:
>
> previous "This implementation handles leap years correctly" ^ self 
> class year: (self year - 1)
>
>
> and all works fine.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20160105/432bd70c/attachment.html>


More information about the Glass mailing list