mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue