You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christopher McIntosh <ch...@mchsi.com> on 2005/10/13 14:10:54 UTC
Problems with org.apache.cocoon.generation.CalendarGenerator
Hello Cocooners!
I'm a recent Cocoon-addict; and I am noticing a problem with the
CalendarGenerator. However, I can find no other reports (in the
bugtracking or the numerous newsgroups).
Here is the issue:
When the CalendarGenerator returns a <calendar:calendar> document, it
gets confused. Without specifying any parameters, the returned calendar
is off-by-one. September 30 shows up in the box for October 1. The
number displayed in the small box is correct; but the text in the main
box for a specific date is off-by-one.
Is this a known-but-not-discussed issue?
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Problems with org.apache.cocoon.generation.CalendarGenerator
Posted by Ugo Cei <ug...@apache.org>.
Il giorno 13/ott/05, alle ore 15:32, Christopher McIntosh ha scritto:
> This is interesting. I visited the <a href="http://
> cocoon.zones.apache.org/demos/release/samples/cal">Cocoon Zones
> demo</a> to verify the problem which I was having on my local
> installation; alas, it works without a problem.
I suspect this to be a problem with time zones that shows up or not
depending on the time zone of the machine where the code is running.
Something is wrong in the code that deals with dates. At the moment I
don't have time to investigate it, though.
Ugo
--
Ugo Cei
Tech Blog: http://agylen.com/
Open Source Zone: http://oszone.org/
Wine & Food Blog: http://www.divinocibo.it/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Problems with org.apache.cocoon.generation.CalendarGenerator
Posted by Christopher McIntosh <ch...@mchsi.com>.
Christopher McIntosh wrote:
> Hello Cocooners!
>
> I'm a recent Cocoon-addict; and I am noticing a problem with the
> CalendarGenerator. However, I can find no other reports (in the
> bugtracking or the numerous newsgroups).
>
> Here is the issue:
> When the CalendarGenerator returns a <calendar:calendar> document, it
> gets confused. Without specifying any parameters, the returned calendar
> is off-by-one. September 30 shows up in the box for October 1. The
> number displayed in the small box is correct; but the text in the main
> box for a specific date is off-by-one.
>
> Is this a known-but-not-discussed issue?
>
> Chris
Hmmm...
This is interesting. I visited the <a
href="http://cocoon.zones.apache.org/demos/release/samples/cal">Cocoon
Zones demo</a> to verify the problem which I was having on my local
installation; alas, it works without a problem.
I am running Cocoon-2.1.7 on Tomcat 5.5.9. The same page gives me the
result which I have attached. Has anyone else seen this?
I'll re-build the War and re-deploy to Tomcat to verify the results on
my machine... that's my next step.
Any help from others is much appreciated!
Chris