Author Topic: Timezone at first boot : isn't it strange ?  (Read 1001 times)

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Timezone at first boot : isn't it strange ?
« on: August 27, 2011, 04:00:08 AM »
Hi,

I wonder if it is not configured upside down. I can see it was 11:48 my time when I booted to this install in vbox, and the matchbox-window manager displays 11:48 as UTC (is that different from GMT ?) whereas it says localtime is 9:48. But really 9:48 is Greewitch time, and the local time here is 2 hours later.

Here is a screenshot, where you can see the setup in matchbox-window-manager, and the time in the upper right corner of the tint2 panel:


What do you think ? Is the timezone tool working correctly or is it reversed from what it should be ?

Thanks,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12490
Re: Timezone at first boot : isn't it strange ?
« Reply #1 on: August 27, 2011, 04:14:10 AM »
Depends on how you have it set in vbox. LiveCD is set to local. vbox is defaulted to utc which causes the inverted settings. Please feel free to explore the draxtools and use your perl skills to fix it.

Thanks!
 ;D

Thanks to everyone who donates. You keep the servers running.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Timezone at first boot : isn't it strange ?
« Reply #2 on: August 27, 2011, 04:19:23 AM »
Depends on how you have it set in vbox. LiveCD is set to local. vbox is defaulted to utc which causes the inverted settings. Please feel free to explore the draxtools and use your perl skills to fix it.

Thanks!
 ;D

Hi Texstar,

So you confirm it is a bug ? I don't have any programming knowledge. Maybe could I use my communicating skills to report it as a bug somewhere ? :)

But while I read you twice... is it only in vbox ? I'll have to look closer next time I do an install in a real machine, because if it is vbox, it is not use maybe, to report a bug against drakxtools, as it might be the nonfree virtualbox which is faulty ?

Thanks for your answer,
Mélodie


melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3979
Re: Timezone at first boot : isn't it strange ?
« Reply #3 on: August 27, 2011, 05:33:44 AM »
Melodie, you are interpreting it wrongly. The system has detected the hardware clock reads 11:48. If that is UTC then UTC(GMT) is 11:48. If it is local time, then UTC is 9:48. The time it gives is what UTC would be depending on your clock settings, not what local time would be.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Timezone at first boot : isn't it strange ?
« Reply #4 on: August 27, 2011, 05:51:33 AM »
Melodie, you are interpreting it wrongly. The system has detected the hardware clock reads 11:48. If that is UTC then UTC(GMT) is 11:48. If it is local time, then UTC is 9:48. The time it gives is what UTC would be depending on your clock settings, not what local time would be.


kjpetrie, I think I remember last time I installed to hard drive, in a real machine, both lines were providing the same time, then it was logical that I could make a choice by telling if the hardware clock was (ie 12:00) : 12:00 my local time, or 12:00 GMT time. But in the above screenshot I chose Paris for the TZ, whereas in last install I had setup Factory...

I try to view it your way, but as here we are 2 hours after GMT(UTC) in summer, and 1 hour after GMT in winter, it seems still strange.

Thanks for trying to explain me anyhow. It understand it better if it is a "live/vbox" thing, as Texstar just said.

Regards,
Mélodie

« Last Edit: August 27, 2011, 05:53:41 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15279
  • ┌∩┐(◕_◕)┌∩┐
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Timezone at first boot : isn't it strange ?
« Reply #6 on: August 27, 2011, 08:14:08 AM »
http://www.dxing.com/utcgmt.htm


Thanks menotu. Additional notions is always useful.

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12490
Re: Timezone at first boot : isn't it strange ?
« Reply #7 on: August 27, 2011, 08:21:46 AM »
Depends on how you have it set in vbox. LiveCD is set to local. vbox is defaulted to utc which causes the inverted settings. Please feel free to explore the draxtools and use your perl skills to fix it.

Thanks!
 ;D

Hi Texstar,

So you confirm it is a bug ? I don't have any programming knowledge. Maybe could I use my communicating skills to report it as a bug somewhere ? :)

But while I read you twice... is it only in vbox ? I'll have to look closer next time I do an install in a real machine, because if it is vbox, it is not use maybe, to report a bug against drakxtools, as it might be the nonfree virtualbox which is faulty ?

Thanks for your answer,
Mélodie




Change your settings in vbox preferences to not use utc but local time.

Thanks to everyone who donates. You keep the servers running.

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12490
Re: Timezone at first boot : isn't it strange ?
« Reply #8 on: August 27, 2011, 08:25:23 AM »
I don't have any programming knowledge.

Well then what good are you? Only good for making openbox iso's and doing package suggests? LOL Geesh can't get good help these days.  ;D ;D ;D (Just kidding)


Thanks to everyone who donates. You keep the servers running.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Timezone at first boot : isn't it strange ?
« Reply #9 on: August 27, 2011, 08:29:24 AM »
I don't have any programming knowledge.


Well then what good are you? Only good for making openbox iso's and doing package suggests? LOL Geesh can't get good help these days.  ;D ;D ;D (Just kidding)




Dear Texstar, I can also make good localized isos ! Which is meant to be a gateway to make more helpers come in ! ;D

(and I am *not* kidding !, see the Kde Minime fr and Lxde fr here ! :) )

Hu ? I also test a few packages from the packagers... and bring them feedback. Does that count ?  ::)

hum... while I am here, I would like to ask you kindly if you have found any time to try the Education version ?

And thanks for your help !
Mélodie

« Last Edit: August 27, 2011, 08:31:07 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: Timezone at first boot : isn't it strange ?
« Reply #10 on: August 27, 2011, 09:08:11 AM »
melodie,

1)

For practical purposes UTC and GMT mean precisely the same thing. Historically UTC was probably introduced as a more exact standard than GMT. GMT used to be the mean solar time at the Royal Observatory in Greenwich, while UTC was based on International Atomic Time "with leap seconds added at irregular intervals to synchronize with the Earth's rotation" (to quote Wikipedia). In other words, GMT was astronomically calculated while UTC isn't -- even if astronomical calculations are used to adjust it.

Today GMT is often used as a synonym of UTC, and even when it isn't the difference is small enough to be unimportant in daily life.


2)

UTC doesn't actually stand for anything. English speaking people wanted to use the acronym "CUT" for "Coordinated Universal Time" and the French speakers wanted to use "TUC" for "temps universel coordonné", so UTC is a compromise signifying nothing, apart from the importance of international coordination.


3)

In Linux as in Unix the hardware clock has traditionally been set to UTC/GMT and the system has converted the hardware time to local time when needed. But in Windows the hardware clock is normally set to local time. The result? Total confusion for dual booters.

Fortunately you can make Linux understand when not to convert the time -- if you just tell it that the hardware clock is set to local time.


4)

Now, if your hardware clock is set to your local time and if Linux is aware of this, it usually doesn't matter whether you've specified your time zone as Paris, Washington or Tokyo. Throughout most of the year the time will not have to be converted. The hardware time remains the same as the system time. Until --


5)

Until your standard local time is replaced by your standard local summer time (a.k.a. your "daylight saving time"). As the switch may not necessarily happen on the same date all over the world (if at all) your correct time zone settings may become important even if you've set your hardware clock to "local" time.


Edited for clarity and elegance.
« Last Edit: August 29, 2011, 01:29:46 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2399
Re: Timezone at first boot : isn't it strange ?
« Reply #11 on: August 27, 2011, 09:26:19 AM »
Bald Brick's explanation should go to the PCLOS knowledge base I suppose.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Timezone at first boot : isn't it strange ?
« Reply #12 on: August 27, 2011, 12:05:37 PM »
Bald Brick's explanation should go to the PCLOS knowledge base I suppose.

+1.

Thanks Bald Brick. Well I think I will look very close in the diverse machines I have, to see if all the hardware clocks are set to local time, an how systems interact when multi booting.

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode