dateMenu: Fix typo in _isToday()
getDay() is the day of week, what we want there is getDate(). https://bugzilla.gnome.org/show_bug.cgi?id=738725
This commit is contained in:
parent
926f76635e
commit
111a9e13f2
@ -147,7 +147,7 @@ const DateMenuButton = new Lang.Class({
|
||||
let now = new Date();
|
||||
return now.getYear() == date.getYear() &&
|
||||
now.getMonth() == date.getMonth() &&
|
||||
now.getDay() == date.getDay();
|
||||
now.getDate() == date.getDate();
|
||||
},
|
||||
|
||||
_appInstalledChanged: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user