Opened 5 years ago

Closed 5 years ago

#18215 closed enhancement (worksforme)

dijit/calendar needs a year next to month in heading

Reported by: szerfas Owned by:
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.10.0
Keywords: Cc:
Blocked By: Blocking:

Description

Currently the digit/calendar only shows the month in the heading. If a user browses to the next year with the navigation arrow it is easy for them to get confused what year they are currently viewing since only the month is listed. A quick easy fix to this would be to display the year next to the month in the heading.

I have attached images of the current and proposed design.

Attachments (3)

Screen Shot 2014-08-11 at 9.28.12 AM.png (16.6 KB) - added by szerfas 5 years ago.
With month appended
Screen Shot 2014-08-11 at 9.27.57 AM.png (16.3 KB) - added by szerfas 5 years ago.
Current design
Screenshot 2014-08-12 04.57.15.gif (18.0 KB) - added by bill 5 years ago.
real screenshot of dijit/Calendar

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by szerfas

With month appended

Changed 5 years ago by szerfas

Current design

comment:1 Changed 5 years ago by szerfas

this.containerNode.innerHTML =

(has("ie") == 6 ? "" : "<div class='dijitSpacer'>" + this.dropDown.domNode.innerHTML + "</div>") +

"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>" + monthNames[month.getMonth()] + " " + month.getFullYear() + "</div>";

Changed 5 years ago by bill

real screenshot of dijit/Calendar

comment:2 Changed 5 years ago by bill

Resolution: worksforme
Status: newclosed

I don't know where you got those screenshots, but the real dijit/Calendar actually looks like this:

real screenshot of dijit/Calendar

As you can see, the year is already listed on the bottom.

Note: See TracTickets for help on using tickets.