відішліть, будь ласка, латку в «компетентні органи»
locale-genkillall gnome-panel
Цитата: DalekiyObriy від 2008-05-09 00:22:50відішліть, будь ласка, латку в «компетентні органи»на лончпад вишлю, а якщо це баг всього X.org, то не знаю куди.
% Define the first day of the week to be displayed in a calendar.% This weekday is relative to the date defined in the <week> keyword.first_weekday 1% Define the first workday relative to the <week> keywordfirst_workday 1
% Week description, consists of three fields:% 1. Number of days in a week.% 2. Gregorian date that is a first weekday (19971130 for Sunday, 19971201 for Monday).% 3. The weekday number to be contained in the first week of the year.%% ISO 8601 conforming applications should use the values 7, 19971201 (a% Monday), and 4 (Thursday), respectively.week 7;19971201;4
травень 2008нд пн вт ср чт пт сб 1 2 3 4 5 6 7 8 9 1011 12 13 14 15 16 1718 19 20 21 22 23 2425 26 27 28 29 30 31
#if 0<-><------><------><------>/* setting week1stday is against man page */ /* * What *is* the first day of the week? Note that glibc does not * provide any information today, it (almost) always answers Monday. * Sunday is the Jewish and Christian tradition. * Sometimes an answer is built into the language: * German calls Wednesday "Mittwoch", so starts at Sunday. * Portuguese calls Monday "segunda-feira", so starts at Sunday. * Russian calls Friday "pyatnitsa", so starts at Monday. * ISO 8601 decided to start at Monday. * * The traditional Unix cal utility starts at Sunday. * We start at Sunday and have an option -m for starting at Monday. * * At some future time this may become -s for Sunday, -m for Monday, * no option for glibc-determined locale-dependent version. */#ifdef HAVE_LANGINFO_H <------>week1stday = (int)(nl_langinfo(_NL_TIME_FIRST_WEEKDAY))[0];#endif #endif
-(~/rpmbuild/SPECS:$)-> cat ~/rpmbuild/SOURCES/util-linux-ng-2.13-week1stday.patch diff -rub util-linux-ng-2.13.1.orig/misc-utils/cal.c util-linux-ng-2.13.1/misc-utils/cal.c--- util-linux-ng-2.13.1.orig/misc-utils/cal.c 2008-01-16 11:31:41.000000000 +0200+++ util-linux-ng-2.13.1/misc-utils/cal.c 2008-05-14 14:46:08.000000000 +0300@@ -285,7 +285,7 @@ } #endif -#if 0 /* setting week1stday is against man page */+#if 1 /* setting week1stday is against man page */ /* * What *is* the first day of the week? Note that glibc does not * provide any information today, it (almost) always answers Monday.-(~/rpmbuild/SPECS:$)-> cal травень 2008 пн вт ср чт пт сб нд 1 2 3 4 5 6 7 8 9 10 1112 13 14 15 16 17 1819 20 21 22 23 24 2526 27 28 29 30 31
language="uk"territory="UA"audience="general"application="general"abbreviation="ULU-2.1.12"revision="2.1.12"date="2006-05-20"category="i18n:2002;UTF-8;;;;;;;;;;;"identification-codeset="UTF-8"
До речі, то саме в Убунту 8.10 та 9.04 - так і залишилося... Треба ручками поправляти.