Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93632 - evolution 2.2.1.1 calendar uses incorrect date format
Summary: evolution 2.2.1.1 calendar uses incorrect date format
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-22 20:22 UTC by Iain Buchanan
Modified: 2005-06-16 19:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iain Buchanan 2005-05-22 20:22:44 UTC
I have set the timezone to Australia/Darwin, however evolution prints dates as
month/day/year, and not day/month/year.  (In start time and end time for
calendar appointments).  The time format should come from the system timezone,
or at least be an option somewhere.

Reproducible: Always
Steps to Reproduce:




$ emerge info
Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo
http://mirror.gentoo.gr.jp ftp://mirrors.tds.net/gentoo
http://mirrors.tds.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts cdr
crypt cups curl dvd dvdr eds emboss encode esd fam flac font-server foomaticdb
fortran gd gdbm gif gnome gpm gs gstreamer gtk gtk2 guile imagemagick imlib ipv6
irda java jpeg junit libg++ libwww mad mikmod mmx motif mozsvg mp3 mpeg mysql
ncurses nfs nls ogg oggvorbis opengl pam pdflib perl png postgres ppds python
quicktime readline samba sdl spell sse ssl svg svga tcltk tcpd tetex tiff
truetype truetype-fonts type1-fonts vorbis wifi win32codecs xml xml2 xmms xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Peter Humphrey 2005-06-14 01:59:08 UTC
Similarly for the gnome panel, which ignores my British time zone and en_GB
locale setting.
Comment 2 foser (RETIRED) gentoo-dev 2005-06-14 02:41:07 UTC
what does 'locale' give ?

comment #2, what is the current & expected behaviour? Keep in mind I am no
expert on i18n specifics in parts of the world.
Comment 3 Iain Buchanan 2005-06-14 17:09:00 UTC
> what does 'locale' give ?

$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

is this a leading question :) no doubt you're going to tell me that this is the
posix format for dates!

> comment #2, what is the current & expected behaviour? Keep in mind I am no
> expert on i18n specifics in parts of the world.

"... evolution prints dates as month/day/year, and not day/month/year." ie, the
5th of June, 2005 would print as 06/05/2005 (current behaviour) and not
05/06/2005 (expected behaviour).

The correct format seems to be in /usr/lib/locale/en_AU/LC_TIME so I tried
`export LANG=en_AU` and then ran evolution.  - Now the dates are in my local
format! (eg, problem existed between keyboard and chair :)

Don't know about Peter's comment though.

FYI, locale now says:

$ locale
LANG=en_AU
LC_CTYPE="en_AU"
LC_NUMERIC="en_AU"
LC_TIME="en_AU"
LC_COLLATE="en_AU"
LC_MONETARY="en_AU"
LC_MESSAGES="en_AU"
LC_PAPER="en_AU"
LC_NAME="en_AU"
LC_ADDRESS="en_AU"
LC_TELEPHONE="en_AU"
LC_MEASUREMENT="en_AU"
LC_IDENTIFICATION="en_AU"
LC_ALL=
Comment 4 Peter Humphrey 2005-06-15 06:51:13 UTC
Sorry folks, I had a typo in /etc/profile. Now fixed.
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2005-06-16 19:31:03 UTC
closing due to posters last comment.