Author: snoopdave
Date: Mon Mar 27 12:38:04 2006
New Revision: 389261
URL: http://svn.apache.org/viewcvs?rev=389261&view=rev
Log:
Fixed ROL-1096, month views should start at end of month
Modified:
incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java
Modified:
incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java
URL:
http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java?rev=389261&r1=389260&r2=389261&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java
(original)
+++ incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java
Mon Mar 27 12:38:04 2006
@@ -342,7 +342,7 @@
// and get them ALL, no limit
limit = null;
} else if (mRollerReq.isMonthSpecified()) {
- endDate = DateUtil.getEndOfDay(endDate, cal);
+ endDate = DateUtil.getEndOfMonth(endDate, cal);
}
Map mRet =
RollerFactory.getRoller().getWeblogManager().getWeblogEntryObjectMap(
mRollerReq.getWebsite(),