Package: gnotime
Version: 2.2.1-15.bzz.1
Followup-For: Bug #320629

I've patched gnotime to use 24 Hour format when displaying time

It should be equaly easy to use the selected locale for choosing, but
I always preffer 24 hour, since I'm a consultant.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.13-x300
Locale: LANG=nb_NO, LC_CTYPE=nb_NO (charmap=ISO-8859-1)

Versions of packages gnotime depends on:
ii  guile-1.6-libs     1.6.7-1               Main Guile libraries
ii  libart-2.0-2       2.3.17-1              Library of functions for 2D graphi
ii  libatk1.0-0        1.8.0-4               The ATK accessibility toolkit
ii  libaudiofile0      0.2.6-6               Open-source version of SGI's audio
ii  libbonobo2-0       2.8.1-2               Bonobo CORBA interfaces library
ii  libbonoboui2-0     2.8.1-2               The Bonobo UI library
ii  libc6              2.3.2.ds1-22          GNU C Library: Shared libraries an
ii  libesd0            0.2.35-2              Enlightened Sound Daemon - Shared 
ii  libfontconfig1     2.3.1-2               generic font configuration library
ii  libfreetype6       2.1.7-2.4             FreeType 2 font engine, shared lib
ii  libgail-common     1.8.4-1               GNOME Accessibility Implementation
ii  libgail17          1.8.4-1               GNOME Accessibility Implementation
ii  libgconf2-4        2.8.1-6               GNOME configuration database syste
ii  libgcrypt11        1.2.0-11.1            LGPL Crypto library - runtime libr
ii  libglade2-0        1:2.4.2-2             library to load .glade files at ru
ii  libglib2.0-0       2.6.4-1               The GLib library of C routines
ii  libgnome-keyring0  0.4.2-1               GNOME keyring services library
ii  libgnome2-0        2.8.1-2               The GNOME 2 library - runtime file
ii  libgnomecanvas2-0  2.8.0-1               A powerful object-oriented display
ii  libgnomeprint2.2-0 2.8.2-1.2             The GNOME 2.2 print architecture -
ii  libgnomeprintui2.2 2.8.2-2               GNOME 2.2 print architecture User 
ii  libgnomeui-0       2.8.1-3               The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0     2.8.4-4               The GNOME virtual file-system libr
ii  libgnutls11        1.0.16-13.1           GNU TLS library - runtime library
ii  libgpg-error0      1.0-1                 library for common error values an
ii  libgtk2.0-0        2.6.4-3.1             The GTK+ graphical user interface 
ii  libgtkhtml3.2-11   3.2.5-1               HTML rendering/editing library - r
ii  libguile-ltdl-1    1.6.7-1               Guile's patched version of libtool
ii  libice6            4.3.0.dfsg.1-14sarge1 Inter-Client Exchange library
ii  libjpeg62          6b-10                 The Independent JPEG Group's JPEG 
ii  liborbit2          1:2.12.2-1            libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0      1.8.1-1               Layout and rendering of internatio
ii  libpopt0           1.7-5                 lib for parsing cmdline parameters
ii  libqof-0.5.0-1     0.5.0-2               Query Object Framework
ii  libqthreads-12     1.6.7-1               QuickThreads library for Guile
ii  libsm6             4.3.0.dfsg.1-14sarge1 X Window System Session Management
ii  libtasn1-2         0.2.10-3              Manage ASN.1 structures (runtime)
ii  libx11-6           4.3.0.dfsg.1-14sarge1 X Window System protocol client li
ii  libxml2            2.6.16-7              GNOME XML library
ii  scrollkeeper       0.3.14-10             A free electronic cataloging syste
ii  xlibs              4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii  zlib1g             1:1.2.2-4.sarge.2     compression library - runtime

-- no debconf information
diff -ru gnotime-2.2.1/lib/qof/gnc-date.c gnotime/lib/qof/gnc-date.c
--- gnotime-2.2.1/lib/qof/gnc-date.c    2004-05-23 22:57:30.000000000 +0200
+++ gnotime/lib/qof/gnc-date.c  2006-01-15 21:13:23.691795520 +0100
@@ -60,8 +60,8 @@
 #  define GNC_T_FMT (nl_langinfo (T_FMT))
 #else
 #  define GNC_D_FMT "%Y-%m-%d"
-#  define GNC_D_T_FMT "%Y-%m-%d %r"
-#  define GNC_T_FMT "%r"
+#  define GNC_D_T_FMT "%Y-%m-%d %R"
+#  define GNC_T_FMT "%R"
 #endif
 
 

Reply via email to