Re: [Seaside Commits] Seaside 3.0: Seaside-Widgets-obi.18.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside Commits] Seaside 3.0: Seaside-Widgets-obi.18.mcz

Julian Fitzell-2
Is this dependent on whether your week starts on Sunday or Monday?

Julian

On Sat, May 22, 2010 at 10:34 PM, <[hidden email]> 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 [hidden email]
http://lists.seaside.st/listinfo/commits


_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside Commits] Seaside 3.0: Seaside-Widgets-obi.18.mcz

Gerhard Obermann
Hmm yes, but WAMIniCalendar dose not work for Monday as start day!

Gerhard

On Sat, May 22, 2010 at 9:52 PM, Julian Fitzell <[hidden email]> wrote:
Is this dependent on whether your week starts on Sunday or Monday?

Julian

On Sat, May 22, 2010 at 10:34 PM, <[hidden email]> 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 [hidden email]
http://lists.seaside.st/listinfo/commits


_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev



_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside Commits] Seaside 3.0: Seaside-Widgets-obi.18.mcz

Julian Fitzell-2
Ok, as long as we're consistent! :)

Julian

On Sat, May 22, 2010 at 9:04 PM, Gerhard Obermann <[hidden email]> wrote:
Hmm yes, but WAMIniCalendar dose not work for Monday as start day!

Gerhard

On Sat, May 22, 2010 at 9:52 PM, Julian Fitzell <[hidden email]> wrote:
Is this dependent on whether your week starts on Sunday or Monday?

Julian

On Sat, May 22, 2010 at 10:34 PM, <[hidden email]> 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 [hidden email]
http://lists.seaside.st/listinfo/commits


_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev



_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev



_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev