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:
parent
82cf98740a
commit
81b3f7cf44
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user