[Glass] Year current previous error

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Tue Jan 5 17:07:15 PST 2016


Bugfix is available on gladddb/glass master branch[1]

[1] https://github.com/glassdb/glass/pull/8

On 01/05/2016 10:31 AM, Dale Henrichs wrote:
> 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/9a8ad397/attachment.html>


More information about the Glass mailing list