[Seaside-dev] Re: [Seaside Commits] Seaside 3.0:
Seaside-Widgets-obi.18.mcz
Julian Fitzell
jfitzell at gmail.com
Sat May 22 19:52:16 UTC 2010
Is this dependent on whether your week starts on Sunday or Monday?
Julian
On Sat, May 22, 2010 at 10:34 PM, <
squeak-dev-noreply at lists.squeakfoundation.org> wrote:
> Gerhard Obermann uploaded a new version of Seaside-Widgets to project
> Seaside 3.0:
> http://www.squeaksource.com/Seaside30/Seaside-Widgets-obi.18.mcz
>
> ==================== Summary ====================
>
> Name: Seaside-Widgets-obi.18
> Author: obi
> Time: 22 May 2010, 9:38:04 pm
> UUID: ee5cf2e1-fc76-694e-9691-4638a0e50294
> Ancestors: Seaside-Widgets-jok.17
>
> - fix http://code.google.com/p/seaside/issues/detail?id=558,
> WAMiniCalander displaying incorrectly when the month begins on Sunday
>
> =============== Diff against Seaside-Widgets-jok.17 ===============
>
> Item was changed:
> ----- Method: WAMiniCalendar>>weeksDo: (in category 'private') -----
> weeksDo: aBlock
> | day nextMonth |
> day := Date newDay: 1 month: (Date nameOfMonth: self monthIndex)
> year: self year.
> + day := day subtractDays: (day dayOfWeek - 1).
> - day := day subtractDays: day dayOfWeek.
> nextMonth := (self monthIndex \\ 12) + 1.
> [ day monthIndex = nextMonth ] whileFalse: [
> aBlock value: day.
> day := day addDays: 7 ]!
>
>
> _______________________________________________
> commits mailing list
> To unsubscribe, email commits-leave at lists.seaside.st
> http://lists.seaside.st/listinfo/commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20100522/543708da/attachment.htm
More information about the seaside-dev
mailing list