Dropped Luna category. Sepereated patches to 'Misc', 'Top Bar' and 'Universal Search'.
[webos-internals:imagineer1981s-modifications.git] / top-bar / top-bar-add-date.patch
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
2 index ee479ac..f02e1cd 100644
3 --- a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
4 +++ b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
5 @@ -2337,7 +2337,7 @@ updateClockEveryMinute: function() {
6                 }
7         }
8         format = format.replace(/\s?a\s?/,"");  
9 -       $('clock').innerHTML = Mojo.Format.formatDate(date, {time: format});                            
10 +       $('clock').innerHTML = Mojo.Format.formatDate(date, {date:'short',time: format});                               
11         $('today').innerHTML = Mojo.Format.formatDate(date,{date:'short'});
12  },
13