Petteri kirjoitti to 30. kesäkuuta 2011 08.20.16:
> Tollef Fog Heen kirjoitti ma 18. lokakuuta 2010 09.47.20:
> > Package: gcalcli
> > Version: 1.4-6
> > Severity: normal
> > 
> > It seems like gcalcli doesn't respect the locale settings I'm running
> > with, in which the week starts on Monday, not Sunday.
> 
> I also noticed this problem. The solution is to add:
> 
> import locale
> locale.setlocale(locale.LC_ALL, '')
> 
> somewhere in the import section of the gcalcli, for more detail
> description of the problem see (
> http://mail.python.org/pipermail/python-dev/2006-April/063487.html ). As
> the upstream seems to be inactive, it would nice to add this to the
> Debian version of gcalcli.

Sorry I was too hasty, the setlocale fixes only the agenda view, other
parts need some more work.

-Petteri

> > > gcalcli --details calw
> > 
> > +----------+----------+----------+----------+----------+----------+----------+
> > |Sunday    |Monday    |Tuesday   |Wednesday |Thursday  |Friday    |Saturday 
> >  |
> > +----------+----------+----------+----------+----------+----------+----------+
> > |17 Oct    |18 Oct ***|19 Oct    |20 Oct    |21 Oct    |22 Oct    |23 Oct   
> >  |
> > 
> > 
> > (It'd also be nice if it used the right time format.)
> > 
> > -- System Information:
> > Debian Release: squeeze/sid
> >   APT prefers testing
> >   APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
> > Architecture: amd64 (x86_64)
> > 
> > Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
> > Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/dash
> > 
> > Versions of packages gcalcli depends on:
> > ii  python                        2.6.6-3    interactive high-level 
> > object-orie
> > ii  python-dateutil               1.4.1-3    powerful extensions to the 
> > standar
> > ii  python-gdata                  2.0.8-1.1  Google Data Python client 
> > library
> > 
> > Versions of packages gcalcli recommends:
> > ii  gxmessage                     2.12.4-1   an xmessage clone based on GTK+
> > 
> > gcalcli suggests no packages.
> > 
> > -- no debconf information
> > 
> 

-- 
 ___.  /     \  .___
 "Y/|\ | 0 o / /|\Y"
   '^^V  /|\ 'v'^^'




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to