| |   |
| 1 | 1 | diff --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 |
| index f343ce2..917dc52 100644 |
| index ee479ac..115140c 100644 |
| 3 | 3 | --- a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js |
| 4 | 4 | +++ b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js |
| @@ -2266,7 +2266,9 @@ updateClockEveryMinute: function() { |
| date.setHours(12); |
| @@ -2337,7 +2337,9 @@ updateClockEveryMinute: function() { |
| 7 | 6 | } |
| } |
| } |
| format = format.replace(/\s?a\s?/,""); |
| 9 | 9 | - $('clock').innerHTML = Mojo.Format.formatDate(date, {time: format}); |
| + var formedDate=Mojo.Format.formatDate(date, {date:'short'}); |
| + formedDate=formedDate.substr(0,formedDate.lastIndexOf('/')); |
| + $('clock').innerHTML = formedDate+' '+Mojo.Format.formatDate(date, {time:format}); |
| + var formatDate = Mojo.Format.formatDate(date, {date:'short'}); |
| + formatDate = formatDate.substr(0, formatDate.lastIndexOf('/')); |
| + $('clock').innerHTML = formatDate+' '+Mojo.Format.formatDate(date, {time:format}); |
| 13 | 13 | $('today').innerHTML = Mojo.Format.formatDate(date,{date:'short'}); |
| 14 | 14 | }, |
| 15 | 15 | |