Bug 580528 – The panel should show today's date

Show the date in the panel so that it looks more polished.

Suggested by Josh Adams.
This commit is contained in:
Marina Zhurakhinskaya 2009-04-28 17:29:53 -04:00
parent 82cf98740a
commit 81b3f7cf44

View File

@ -246,7 +246,7 @@ Panel.prototype = {
display_date.setMinutes(display_date.getMinutes() + 1);
msec_remaining += 60000;
}
this._clock.set_text(display_date.toLocaleFormat("%H:%M"));
this._clock.set_text(display_date.toLocaleFormat("%a %b %e, %l:%M %p"));
Mainloop.timeout_add(msec_remaining, function() {
me._updateClock();
return false;