View Issue Details

IDProjectCategoryView StatusLast Update
0005657SOGoBackend Generalpublic2023-02-02 13:57
ReporterAndrey Cherepanov Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSALT EducationOS Version10.1
Product Version5.8.0 
Summary0005657: SOGoTimeZone value is ignored
Description

timedatectl | grep zone

            Time zone: Europe/Moscow (MSK, +0300)

sogo-tool dump-defaults all | grep SOGoTimeZone

SOGoTimeZone = "Europe/Moscow";

cat /usr/lib64/GNUstep/Libraries/Resources/NGCards/TimeZones/Europe/Moscow.ics

BEGIN:VCALENDAR
PRODID:-//Alinto//NONSGML IANA 2022f//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Moscow
LAST-MODIFIED:20221129T123233Z
X-LIC-LOCATION:Europe/Moscow
BEGIN:STANDARD
TZNAME:MSK
TZOFFSETFROM:+0300
TZOFFSETTO:+0300
DTSTART:19700101T000000
END:STANDARD
END:VTIMEZONE
END:VCALENDAR

but web interface and log timestamps use UTC. SOGoTimeZone value is ignored by sogod even it contains incorrect data.

TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2022-12-12 09:34

developer   ~0016479

What time zone is set in user preferences of the affected user?

/usr/sbin/sogo-tool user-preferences get defaults ${UserName} SOGoTimeZone
Andrey Cherepanov

Andrey Cherepanov

2022-12-13 09:56

reporter   ~0016494

/usr/sbin/sogo-tool user-preferences get defaults ho SOGoTimeZone

<0x0x56221d0ccc50[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
<0x0x56221d0ccc50[SOGoCache]> Using host(s) 'localhost' as server(s)
SOGoTimeZone: "Europe/Moscow"

UTC was in early version (in logs), but web interface used user timezone. Now it uses UTC.

x09

x09

2023-02-02 11:54

reporter   ~0016641

I have same problem too.
As far as I know, it since with version 3.

Andrey Cherepanov

Andrey Cherepanov

2023-02-02 13:57

reporter   ~0016642

Fixed in gnustep-base-1.28.1

Issue History

Date Modified Username Field Change
2022-12-08 11:37 Andrey Cherepanov New Issue
2022-12-12 09:34 Christian Mack Note Added: 0016479
2022-12-13 09:56 Andrey Cherepanov Note Added: 0016494
2023-02-02 11:54 x09 Note Added: 0016641
2023-02-02 13:57 Andrey Cherepanov Note Added: 0016642