[rules-dev] Fwd: [jbpm-console-ng] Fix calendar view for Octobers (#37)

Wolfgang Laun wolfgang.laun at gmail.com
Fri Jul 19 07:19:47 EDT 2013


Due to the return from Daylight Saving Time October has one additional
hour. Adding a duration of 30 times the number of milliseconds per day
brings you to Oct 30, 23:00. Since java.util.Date respects the JVM's
locale, it might even have worked in several countries of this planet.
:-)

-W

---------- Forwarded message ----------
From: Petr Široký <notifications at github.com>
Date: Wed, 17 Jul 2013 23:11:00 -0700
Subject: [jbpm-console-ng] Fix calendar view for Octobers (#37)
To: droolsjbpm/jbpm-console-ng <jbpm-console-ng at noreply.github.com>

For some reason Octobers had only 34(41) days displayed instead of
correct 35(42). Not really sure where the problem was, replacing the
ad-hoc date code with joda time methods solved it.



More information about the rules-dev mailing list