The officially official Devuan Forum!

You are not logged in.

#1 Today 18:35:01

trinidad
Member
From: Waterford WI
Registered: 2022-11-15
Posts: 36  
Website

tzinfo oddly misconfigured

When I run:

trinidad@devm1:~$ sudo dpkg-reconfigure tzdata
[sudo] password for trinidad: 

Current default time zone: 'America/Chicago'
Local time is now:      Wed Dec  3 06:27:29 CST 2025.
Universal Time is now:  Wed Dec  3 12:27:29 UTC 2025

it comes out backwards. UTC displays local time and local time displays UTC.

Also XFCE 4 panel when using Amerca/Chicago input displays the same wrong time, however if I type cst into the query box its displays correct local time. How did tzinfo get reversed?

TC


Often unawares.

Offline

#2 Today 20:27:55

RedGreen925
Member
Registered: 2024-12-07
Posts: 215  

Re: tzinfo oddly misconfigured

it comes out backwards. UTC displays local time and local time displays UTC.

That is correct as the Central time zone in the US is a 6 hours offset from the UTC. So when it is just over 6AM in Central time it is just past 12PM in UTC. If it is just past 12PM when you ran this command local time then putting on my mind reader hat I will go with a dual boot machine with the Windows on it and not set to universal time so the clock is always messed up when it is used then Linux is booted again. Two choices for that scenario either set the Linux machine to always use local time or the Windows to use the Universal time then the clock will always be correct.

Offline

Board footer