Clock : incorrect date format in FR in Unity panel …bionic.

Bug #1787297 reported by Coeur Noir on 2018-08-15
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
indicator-datetime (Ubuntu)
Undecided
Unassigned
unity (Ubuntu)
Undecided
Unassigned

Bug Description

Hi,

Here is Ubuntu 18.04 with Unity session ( I know… )

System language and regional settings are set to French.

In regional setting the date reads

day number month year hour minute…

which is correct for French.

But the clock in the Unity panel reads

day month number year hour minute…

which looks more English than French order.

Any config file I might edit to make my clock « more French » ?

affects: ubuntu → unity (Ubuntu)
Khurshid Alam (khurshid-alam) wrote :

For me it works though.

What is the output of `locale` ? It is possible that indicator-datetime is not building with language packs. Do you have "french" installed? If not you can install it from System language and regional settings. Also check if you have geoclue installed.

1) Install dconf-editor.
2) Go to /com/canonical/indicator/datetime
3) Check timezone name
4) You can change time-format with "custom-time-format" key

Changed in unity (Ubuntu):
status: New → Invalid
Khurshid Alam (khurshid-alam) wrote :

Ah I forgot, For your own custom time format, you need to first set `time-format` from 'locale-default' to 'custom'.

You can customize the format as long as they are understood by strftime. http://manpages.ubuntu.com/strftime

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-datetime (Ubuntu):
status: New → Confirmed
kikito (cma54) wrote :

hello !

in panel indicator i have: "jeu. août 16 13:15"
in calendar i have: "jeudi 16 août 2018"
in terminal, date: "jeudi 16 août 2018, 13:17:44 (UTC+0200)"

i don't have "/com/canonical/indicator" in dconf ? ? ?

bye

kikito (cma54) wrote :

Ah, i am not under Unity:

-Version-
Kernel : Linux 4.17.0-6-generic (x86_64)
Version : #7-Ubuntu SMP Tue Jul 24 23:07:00 UTC 2018
C Library : GNU C Library / (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
Distribution : Ubuntu Cosmic Cuttlefish (development branch)
-Current Session-
Language : fr_FR.UTF-8 (fr_FR.UTF-8)

Coeur Noir (gerald-maruccia-e) wrote :

coeurnoir-1804@ASGARD:~$ locale
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR:fr_CA:en
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=
coeurnoir-1804@ASGARD:~$

Coeur Noir (gerald-maruccia-e) wrote :

Thank you Khurshid Alam that's exactly what I was looking for !

That does not fix the default clock non-matching the locale clock settings but it allows to have a customized clock.

Coeur Noir (gerald-maruccia-e) wrote :

@kikito you're not under Unity neither under Bionic 18.04 ;-)

But it seems your clock is also à l'Anglaise…

kikito (cma54) wrote :

@Coeur Noir: I know.

I tested this day with a LiveUSB Cosmic Cuttlefish (Gnome-shell): same bug.

(C'est un bug Gnome et pas un bug Unity :-) )

Khurshid Alam (khurshid-alam) wrote :

Since it is happening in other sessions it could be bug in language-pack or some other package.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers