You are not logged in.

#1 2018-07-08 17:06:07

picarica
Member
Registered: 2018-01-23
Posts: 48

[SOLVED]my time suddenyl changed from europian (14:20) to american

i dont kno whath append i was just deleting some stuff i guess

here is my

timedatectl output

               
Local time: Sun 2018-07-08 19:04:57 CEST
           Universal time: Sun 2018-07-08 17:04:57 UTC
                 RTC time: Sun 2018-07-08 17:04:58
                Time zone: Europe/Bratislava (CEST, +0200)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

maybe i should also say i am using XFCE4 and orage panel clock

Last edited by picarica (2018-07-09 09:45:55)

Offline

#2 2018-07-08 18:26:08

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,718
Website

Re: [SOLVED]my time suddenyl changed from europian (14:20) to american

The time in Bratislava when you posted your message was 19:06. Your output shows that timedatctl reports the time as being 19:04. Where is the problem?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2018-07-08 18:32:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,720

Re: [SOLVED]my time suddenyl changed from europian (14:20) to american

That all looks correct.  RTC is set to UTC, timezone is CEST, two hour delta to local time.

From whence comes 4:00pm?  The panel clocks? What is the output of date    ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2018-07-08 18:54:41

picarica
Member
Registered: 2018-01-23
Posts: 48

Re: [SOLVED]my time suddenyl changed from europian (14:20) to american

yeh i notcied the date is right in console but like i said the worng time shows at the orage panel clock

i have time set as %X and that should sue my system time. right ? well it shows 8:50 PM right now

Offline

#5 2018-07-08 19:04:17

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,720

Re: [SOLVED]my time suddenyl changed from europian (14:20) to american

Unfortunately, I know nothing about orage and have not use XFCE for about a decade.  The problem is with these programs, not with the underlying clock subsystem.
You may want to update the title to draw the attention of someone familiar with those programs.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2018-07-08 20:59:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [SOLVED]my time suddenyl changed from europian (14:20) to american

Ah, wait, so it's not showing a different delta, it's just showing in 12 hour time rather than 24 hour?  8:50pm was the correct time for your time zone when you posted that.  You just want it to show 20:50, correct?

These are most definitely not European (nor europian) and American, these are just two ways of displaying time, 12 or 24 hour.

What are your locale settings, do you have an LC_TIME setting?  %X uses the locale's default, which for many locale's is a 12 hour clock.  If you explicitly want a 24 hour clock, set an appropriate LC_TIME or instead of %X us %H:%M.  Does `date +%X` also show 12 hour time or 24?

Last edited by Trilby (2018-07-08 21:06:35)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2018-07-08 22:27:54

picarica
Member
Registered: 2018-01-23
Posts: 48

Re: [SOLVED]my time suddenyl changed from europian (14:20) to american

soo the code

date +%X

show 12:16:47 AM

and yes using the %H %M would work but until now i was using way easier %X

and in locale.gen i have set my formats to SK so europe ones

when i locale-gen it shows its my but when i write

locale

it shows en

here is whole locale output

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

also i tried

sudo localectl set-locale LC_TIME="sk_SK.UTF-8"

and still command locale have same output

Offline

#8 2018-07-08 22:39:31

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED]my time suddenyl changed from europian (14:20) to american

The output of

locale -a
grep ^[^#] /etc/locale.gen

edit:
added `grep ^[^#] /etc/locale.gen`

Last edited by loqs (2018-07-08 22:56:34)

Offline

#9 2018-07-08 23:03:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,843

Re: [SOLVED]my time suddenyl changed from europian (14:20) to american

LC_TIME="en_US.UTF-8"
LC_TIME="sk_SK.UTF-8" date +%X

localectl is unlikely to affect running shells (but idk for sure)

Offline

Board footer

Powered by FluxBB