Jasig/NotificationPortlet — pull request #1 by phillips1021 (2013-03-25 19:48:10+00:00)
Title: Possible Bug In How Due Date Is Displayed

I think there is a bug in this file: / notification-portlet-webapp / src / main / web app / scripts / jquery.notifications.js

On line 174 the code reads:

day = date.getDay(), \

But I think it should be:

day = date.getDate(), \

The JavaScript Date function getDay() returns an integer representing the day of the week (e.g. Sunday is 0, Monday is 1, etc.)

The JavaScript Date function getDate() returns the day of the month. Reference: http://www.w3schools.com/jsref/jsref_obj_date.asp