[Pkg-trac-devel] Bug#505816: trac: does not honour locale for date format

Chris Carr rantingman at gmail.com
Sat Nov 15 20:26:14 UTC 2008


Package: trac
Version: 0.11.1-2
Severity: normal
Tags: l10n


Hi folks,

My locale is set to 'en_GB.UTF-8', but Trac insists on showing dates in 
mm/dd/yy format.

Should a locale.setlocale(locale.LC_ALL, '') be somewhere in 
/usr/share/pyshared/trac/util/datefmt.py?

Regards,

Chris

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages trac depends on:
ii  libjs-jquery                1.2.6-1      JavaScript library for dynamic web
ii  python                      2.5.2-2      An interactive high-level object-o
ii  python-central              0.6.8        register and build utility for Pyt
ii  python-genshi               0.5.0-1      Python XML-based template engine
ii  python-pysqlite2            2.4.1-1      Python interface to SQLite 3
ii  python-setuptools           0.6c8-4      Python Distutils Enhancements
ii  python-subversion           1.5.1dfsg1-1 Python bindings for Subversion
ii  subversion                  1.5.1dfsg1-1 Advanced version control system

Versions of packages trac recommends:
ii  apache2                       2.2.9-10   Apache HTTP Server metapackage
ii  apache2-mpm-prefork [httpd]   2.2.9-10   Apache HTTP Server - traditional n
pn  python-pygments | enscript    <none>     (no description available)
pn  python-tz                     <none>     (no description available)

Versions of packages trac suggests:
ii  libapache2-mod-python         3.3.1-5    Python-embedding module for Apache
pn  python-docutils               <none>     (no description available)
pn  python-mysqldb                <none>     (no description available)
pn  python-psycopg2               <none>     (no description available)
pn  python-textile                <none>     (no description available)
pn  trac-bzr                      <none>     (no description available)
pn  trac-git                      <none>     (no description available)
pn  trac-mercurial                <none>     (no description available)
pn  trac-spamfilter               <none>     (no description available)

-- no debconf information





More information about the Pkg-trac-devel mailing list