Commit 7f6fcfc6c9728775243b2240cf2cd923e45564af

  • avatar
  • egaudet
  • Thu Oct 01 06:46:09 CEST 2009
update to 1.2
  
11diff --git a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
2index f343ce2..917dc52 100644
2index ee479ac..115140c 100644
33--- a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
44+++ b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
5@@ -2266,7 +2266,9 @@ updateClockEveryMinute: function() {
6 date.setHours(12);
5@@ -2337,7 +2337,9 @@ updateClockEveryMinute: function() {
76 }
8 }
7 }
8 format = format.replace(/\s?a\s?/,"");
99- $('clock').innerHTML = Mojo.Format.formatDate(date, {time: format});
10+ var formedDate=Mojo.Format.formatDate(date, {date:'short'});
11+ formedDate=formedDate.substr(0,formedDate.lastIndexOf('/'));
12+ $('clock').innerHTML = formedDate+'   '+Mojo.Format.formatDate(date, {time:format});
10+ var formatDate = Mojo.Format.formatDate(date, {date:'short'});
11+ formatDate = formatDate.substr(0, formatDate.lastIndexOf('/'));
12+ $('clock').innerHTML = formatDate+'   '+Mojo.Format.formatDate(date, {time:format});
1313 $('today').innerHTML = Mojo.Format.formatDate(date,{date:'short'});
1414 },
1515