Xfce Forum

Sub domains
 

You are not logged in.

#1 2006-10-05 18:51:03

bbkr
Member
Registered: 2006-09-23
Posts: 4

orage clock - date format and calendar

- how to change date format to european one on Orage Clock?? so it's DD-MM-YY instead of MM-DD-YY (which is really confusing if you're not used to this notation)
- how to make Orage Clock calendar start with monday instead of saturday??

Offline

#2 2006-10-06 14:06:13

fatcat
Member
From: FI
Registered: 2004-05-11
Posts: 32

Re: orage clock - date format and calendar

Orage obeys your operating system settings automatically.
It does not allow changing those defaults.

is you date command in shell in correct format? Then Orage should be, too.

Offline

#3 2006-10-06 14:09:47

fatcat
Member
From: FI
Registered: 2004-05-11
Posts: 32

Re: orage clock - date format and calendar

Hmm. or do you actually mean orage clock panel plugin?

I use %x as date and that gives me
dd.mm.yyyy

Offline

#4 2006-10-06 14:34:52

SimonJ
Member
From: Perth
Registered: 2006-09-06
Posts: 135
Website

Re: orage clock - date format and calendar

If I double click the panel part of Orage I get the calandar, if I then add an entry (New Appointment) the dates are all back to front, today it shows as 10/06/06 where as clearly the date should be 6/10/06.

hth


Simon.                                                         (^_^)

TIP: Proofread carefully to see if you any words out.
=====================================================================

Offline

#5 2006-10-06 15:26:27

fatcat
Member
From: FI
Registered: 2004-05-11
Posts: 32

Re: orage clock - date format and calendar

What does these commands output:
date
locale

start a terminal and give those there. Orage really should use the same format than os and it works for me.

Offline

#6 2006-10-06 22:37:57

bbkr
Member
Registered: 2006-09-23
Posts: 4

Re: orage clock - date format and calendar

THANKS!!

bbkr@bbkr ~ $ date +%x
10/07/06
bbkr@bbkr ~ $ export LC_TIME="pl"
bbkr@bbkr ~ $ date +%x
2006-10-07

works!!

also replacing %x with %F in Orage Clock properties does the same trick

Offline

#7 2006-10-07 07:28:09

SimonJ
Member
From: Perth
Registered: 2006-09-06
Posts: 135
Website

Re: orage clock - date format and calendar

fatcat wrote:

What does these commands output:
date
locale

start a terminal and give those there. Orage really should use the same format than os and it works for me.

$ date
Sat Oct  7 15:27:48 WST 2006

$ locale
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=

TIA


Simon.                                                         (^_^)

TIP: Proofread carefully to see if you any words out.
=====================================================================

Offline

#8 2006-10-07 13:43:40

fatcat
Member
From: FI
Registered: 2004-05-11
Posts: 32

Re: orage clock - date format and calendar

Simon,

When I set your locale:
LANG=en_AU.UTF-8

I get
date +%x
07/10/06

and this is the format orage also uses in appointments.

try starting orage from the shell (remember to really stop it before that ctrl-Q instead just hiding it.).
Perhaps your LANG setting is different in the default Xfce environment so that date format differs.

Offline

#9 2006-10-08 03:19:25

SimonJ
Member
From: Perth
Registered: 2006-09-06
Posts: 135
Website

Re: orage clock - date format and calendar

The orage clock in the panel is set to show %x and correctly displays 08/10/06 but still the calendar entry shows 10/08/2006 right next to that, it shows my timezone as Australia/Perth so it knows where I am.

Thanks,


Simon.                                                         (^_^)

TIP: Proofread carefully to see if you any words out.
=====================================================================

Offline

#10 2006-10-08 12:47:49

fatcat
Member
From: FI
Registered: 2004-05-11
Posts: 32

Re: orage clock - date format and calendar

You are right! Sorry for the confusion.

Date format in appointments is actually defined like this:
date_format = _("%m/%d/%Y");

The idea was that each translator could define the best format for each language.
Unfortunately there is no translation for en_AU, so the default is used.

We need to get en_AU added and the format changed to %d/%m/%y. Before that
there is no way to get this to work.

This will appear in 4.4 RC2 (it is in svn now).

Offline

#11 2006-10-09 09:16:53

SimonJ
Member
From: Perth
Registered: 2006-09-06
Posts: 135
Website

Re: orage clock - date format and calendar

It's so great that it's that easy to get a problem resolved.

Thanks once again,


Simon.                                                         (^_^)

TIP: Proofread carefully to see if you any words out.
=====================================================================

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 559.67 KiB (Peak: 576.15 KiB) ]