What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

Possible Duplicate:
“this month” highlighted with “today”

When either "Today" or "This Month" is selected, both sub-tabs are highlighted.

share|improve this question

marked as duplicate by Kyle Cronin Jun 1 '10 at 19:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
I imagine this is only for today because "Today" and "This Month" are both the same span of time (it is only June 1st). It affects not just Favorites, but all Recent Activity tabs. –  Grace Note Jun 1 '10 at 12:44
    
@ccomet: BAH! You're right. It's like this in all the summary tabs. Although, I have to say that it makes no sense why both sub-tabs get highlighted just because it's the 1st of the month. –  Jon Seigel Jun 1 '10 at 12:46
    
@ccomet: Now I'm curious, but we'll have to wait until Sunday to see if that holds true. In the meantime, I'm going to edit my question. I can't find any other instances of someone reporting this as a "bug," so I'll leave this open for others to find. Do you want to move your comments to an answer here? –  Jon Seigel Jun 1 '10 at 12:54
    
Just chiming in to say I'm getting this error too, in both Chrome and IE. I also noticed that I was updated regarding questions I had marked as a favorite. Could something have trickled in as part of that new feature? –  Dillie-O Jun 1 '10 at 15:21
    
@Dillie-O: Yes, it's a new feature. I also created a feature-request to disable the favorite notifications. –  Jon Seigel Jun 1 '10 at 15:35
    
Alright, converted comment to an answer. However, someone else posted a duplicate, which pointed out that this was pointed out even earlier. Kinda makes me wish I could retract that conversion to the correct position in the comments, now. –  Grace Note Jun 1 '10 at 17:13
    
@ccomet: Nice find. I have flagged for mod attention. –  Jon Seigel Jun 1 '10 at 17:36

1 Answer 1

up vote 2 down vote accepted

Judging by the nature of today's date (June 1st), the reason both "Today" and "This Month" are highlighted is because they are the same span of time. Each sub-tab in Recent Activity doesn't seem to be a separate page, but just different evaluations of the values for StartDate and EndDate in the query string. I would guess that it is one page that dynamically updates its contents based on this, and selects which tabs to highlight to reflect the values.

"This Month" cannot span past the current day; only time which has already existed can be recorded. So in this case, all "This Month" covers is "6/1/2010 - 6/1/2010", which is also what "Today" evaluates to. I would imagine that likewise, "This Week" will be highlighted alongside "Today" at the start of every week, since that too only evaluates as far as time has occurred.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .