updates and additions
[webos-internals:imagineer1981s-modifications.git] / top-bar / top-bar-add-date-dd-mm-yy--period-as-delimiter.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 786f7ae..31858e0 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 @@ -2757,7 +2757,8 @@ updateClockEveryMinute: function() {
6                 format = Mojo.Format.getFormatHash()['shortTime24'];
7                  
8         format = format.replace(/\s?a\s?/,"");  
9 -       $('clock').innerHTML = Mojo.Format.formatDate(date, {time: format});                            
10 +       var formatDate = Mojo.Format.formatDate(date, 'dd.MM.yy');
11 +       $('clock').innerHTML = formatDate+'    '+Mojo.Format.formatDate(date, {time:format});
12         $('today').innerHTML = Mojo.Format.formatDate(date,{date:'short'});
13  },
14