[FIX] Week-missing-startDay-send-jf

julian at beta4.com julian at beta4.com
Fri Apr 23 22:00:02 UTC 2004


This is a pretty important fix to go in before we leave beta, I think.

from preamble:

"Change Set:		Week-missing-startDay-send-jf
Date:			23 April 2004
Author:			Julian Fitzell

Week (class)>>starting:duration: was accessing StartDay directly rather
than calling #startDay.  This caused it to bypass the lazy
initialization of StartDay.

The bug can be noticed by doing:

Date today asMonth weeks first dates first dayOfWeek

It should return 1 (Sunday) but returns 7 (Saturday) in a new image
without this fix."!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Week-missing-startDay-send-jf.cs.gz
Type: application/octet-stream
Size: 619 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040423/99a9930a/Week-missing-startDay-send-jf.cs.obj


More information about the Squeak-dev mailing list