Modify

Opened 8 years ago

Closed 8 years ago

#1060 closed defect (fixed)

Calendar Navigation breaks at the end of each month!

Reported by: tag@… Owned by: pacopablo
Priority: high Component: TracBlogPlugin
Severity: normal Keywords: blog
Cc: Trac Release: 0.10

Description

Today http://www.blisted.org/blog?year=2006&month=6, and at the end of any other month with
31 days, navigation to previous months will break due to the fact that it attempts to
navigate to this day of the month you've selected. There aren't 31 days in all months, so
this will break navigation and result in an error.

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by pacopablo

  • Status changed from new to assigned

Do you have the traceback in your log?

It's not the 31st, and so I can't reproduce the bug today. And as such, I can't seem to find where exactly the bug is.

If you don't have it, I'll try to remember to take a look at it on the 31st.

comment:2 Changed 8 years ago by pacopablo

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [1913])

  • Closes #1060
  • Fixed similar bug when passing in an arbitrary day. If it's too big (ie, 32) it will just default to the last day of the month.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.