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:
Darcy 2014-10-24 07:11:09 +11:00 committed by Florian Müllner
parent e21e90c5e6
commit f414f616c4

View File

@ -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() {