roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r1658183 - /roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/tags/calendar/WeblogCalendarModel.java
Date Sun, 08 Feb 2015 15:02:19 GMT
Author: snoopdave
Date: Sun Feb  8 15:02:19 2015
New Revision: 1658183

URL: http://svn.apache.org/r1658183
Log:
Fix for wrong next month link of Calendar via Kohei Nozaki (ROL-2061)

Modified:
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/tags/calendar/WeblogCalendarModel.java

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/tags/calendar/WeblogCalendarModel.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/tags/calendar/WeblogCalendarModel.java?rev=1658183&r1=1658182&r2=1658183&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/tags/calendar/WeblogCalendarModel.java
(original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/tags/calendar/WeblogCalendarModel.java
Sun Feb  8 15:02:19 2015
@@ -133,7 +133,7 @@ public class WeblogCalendarModel impleme
             WeblogEntrySearchCriteria wesc = new WeblogEntrySearchCriteria();
             wesc.setWeblog(weblog);
             // since we need an entry.pubTime > endDate, but the method uses startDate
-            wesc.setStartDate(new Date(startDate.getTime()-1));
+            wesc.setStartDate(new Date(endDate.getTime()+1));
             wesc.setCatName(cat);
             wesc.setStatus(PubStatus.PUBLISHED);
             wesc.setSortOrder(WeblogEntrySearchCriteria.SortOrder.ASCENDING);



Mime
View raw message