summaryrefslogtreecommitdiffstats
path: root/deskutils/mencal/files/patch-mencal
blob: 3882eea8f0b6f21dac3dc3594549be494b813761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- mencal.orig	Thu Jul 17 07:53:15 2003
+++ mencal	Wed Aug 23 23:24:21 2006
@@ -276,15 +276,6 @@
     }
   }
   
-  my @locales=split("\n", `locale -c LC_TIME`);
-  if(($#locales>=1) && length($locales[1])) {
-    $config{'topline'}='';
-    foreach my $day (split(';', $locales[1])) { 
-      $config{'topline'}.=sprintf("% 2s ", substr($day, 0, 2));
-    }
-    $config{'topline'}=~s/ +$//;
-  }
-  $config{'topline'}=~s/;/ /g;
   $config{'monday_first'} && $config{'topline'}=~s/^(..) (.+)$/$2 $1/;
 
   $config{'show_type'}=~/^(1|3|y)$/ || ($config{'show_type'}='1');
OpenPOWER on IntegriCloud