Wrong time display in Ubuntu Mate 20.10/22.04/22.10 when LC_TIME=pl_PL.UTF-8

Bug #1906238 reported by Robert Bycul
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
ayatana-indicator-datetime (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The time applet on the panel displays time as: "YYYY:MM", YYYY being 4 digit year and MM 2 digit minute (see the attachment, the panel there is vertical, but doesn't matter, the issue is observed in horizontal panel too).
It looks as if it wanted to display both date and time instead of just the time, and probably it is trimmed because it's too long, so that only beginning and end of the date-time string is displayed.
(Localization: Poland, Time zone Europe/Warsaw).
The only way to fix it is to issue the following commands:
gsettings set org.ayatana.indicator.datetime custom-time-format '%H:%M'
gsettings set org.ayatana.indicator.datetime time-format 'custom'

(Of course it can also be fixed with the dconf-editor with the same settings).
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu50.2
Architecture: arm64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
DistroRelease: Ubuntu 20.10
ImageMediaBuild: 20201028
Package: ayatana-indicator-datetime 0.8.0-1
PackageArchitecture: arm64
ProcVersionSignature: Ubuntu 5.8.0-1007.10-raspi 5.8.14
Tags: groovy
Uname: Linux 5.8.0-1007-raspi aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip gpio i2c input lpadmin lxd netdev plugdev sambashare spi sudo video
_MarkForUpload: True
modified.conffile..etc.default.apport:
 # set this to 0 to disable apport, or to 1 to enable it
 # you can temporarily override this with
 # sudo service apport start force_start=1
 enabled=0
mtime.conffile..etc.default.apport: 2020-11-28T13:22:14.088767

Revision history for this message
Robert Bycul (rpbyc) wrote :
affects: ubuntu-mate → ayatana-indicator-datetime (Ubuntu)
Norbert (nrbrtx)
tags: added: groovy rpi
Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1906238

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Robert Bycul (rpbyc) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Robert Bycul (rpbyc) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Robert Bycul (rpbyc) wrote : ProcEnviron.txt

apport information

Revision history for this message
Piotr Jurkiewicz (piotrjurkiewicz) wrote : Re: Wrong time display in Mate 20.10 on Raspberry Pi 4

The same happened on my two PC machines after upgrade from Ubuntu 20.04 to 20.10. I don't think that this is a problem with truncated display, as the time next to time zone localization is also displayed this way (see the attached screenshot).

Changed in ayatana-indicator-datetime (Ubuntu):
status: New → Confirmed
Revision history for this message
Piotr Jurkiewicz (piotrjurkiewicz) wrote : Re: Wrong time display in Ubuntu Mate 20.10 when LC_TIME=pl_PL.UTF-8

Steps to replicate:

1. Terminate ayatana-indicator-datetime-service.

2. Run in terminal:

    $ LC_TIME=pl_PL.UTF-8 /usr/libexec/ayatana-indicator-datetime/ayatana-indicator-datetime-service

summary: - Wrong time display in Mate 20.10 on Raspberry Pi 4
+ Wrong time display in Ubuntu Mate 20.10 when LC_TIME=pl_PL.UTF-8
Norbert (nrbrtx)
tags: removed: groovy
Revision history for this message
NetBit73 (mmach) wrote :

The same problem with 22.04

Norbert (nrbrtx)
tags: added: jammy
tags: added: impish
Revision history for this message
Rafał Myśliwczyk (mysliwczykrafal) wrote (last edit ):

Having the same issue with 22.10. After doing the following commands it fixed it partially:
gsettings set org.ayatana.indicator.datetime custom-time-format '%H:%M'
gsettings set org.ayatana.indicator.datetime time-format 'custom'

It still displays the wrong information if you click on the time to show the calendar. (pic attached)

Revision history for this message
Rafał Myśliwczyk (mysliwczykrafal) wrote :
Revision history for this message
Pawel (pawel05) wrote :

This is supposed to be fixed in current version, however I was unable to build and install package locally because of dependency issues.
https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/28

summary: - Wrong time display in Ubuntu Mate 20.10 when LC_TIME=pl_PL.UTF-8
+ Wrong time display in Ubuntu Mate 20.10/22.04/22.10 when
+ LC_TIME=pl_PL.UTF-8
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.