[BUG][FIX] Date weekdayIndex (was [BUG] MonthMorph for July has 9 weeks)

Mike Rutenberg mdr at scn.org
Mon Jul 10 08:29:06 UTC 2000


There was a bug in Date weekdayIndex which caused it to return the
incorrect result.

This caused July to have 9 weeks and writing Celeste email to not work
on Sundays.

The simple attached change fixes that. 

Mike

-------------- next part --------------
Content-Type: application/octet-stream; name="Dayofweekfix.1.cs"
Content-Disposition: attachment; filename="Dayofweekfix.1.cs"
Content-Transfer-Encoding: base64

J0Zyb20gU3F1ZWFrMi44IG9mIDE4IEp1bmUgMjAwMCBbbGF0ZXN0IHVwZGF0ZTogIzIzNDVd
IG9uIDEwIEp1bHkgMjAwMCBhdCAxMToyMjo0MCBhbSchDSJDaGFuZ2UgU2V0OgkJRGF5b2Z3
ZWVrZml4DURhdGU6CQkJMTAgSnVseSAyMDAwDUF1dGhvcjoJCQlNaWtlIFJ1dGVuYmVyZyAo
bWRyQHNjbi5vcmcpDQ1GaXhlcyBhIGJ1ZyBpbiBEYXRlIHdlZWtkYXlJbmRleCB3aGljaCBj
YXVzZWQgaXQgdG8gcmV0dXJuIHRoZSBpbmNvcnJlY3QgcmVzdWx0Lg0iIQ0NDSFEYXRlIG1l
dGhvZHNGb3I6ICdhY2Nlc3NpbmcnIHN0YW1wOiAnbWRyIDcvOS8yMDAwIDExOjI3JyENd2Vl
a2RheUluZGV4DQkiTW9uZGF5PTEsIC4uLiAsIFN1bmRheT03Ig0NCV4oc2VsZiBqdWxpYW5E
YXlOdW1iZXIgcmVtOiA3KSArIDEhICENDQ==
-------------- next part --------------




More information about the Squeak-dev mailing list