Timezone can't be set - SOLVED, kinda

Booting, installing, newbie
Message
Author
User avatar
blacktulipgirl
Posts: 31
Joined: Wed 27 Aug 2008, 15:13

Timezone can't be set - SOLVED, kinda

#1 Post by blacktulipgirl »

Last edited by blacktulipgirl on Sun 31 Aug 2008, 00:58, edited 1 time in total.
[b][color=darkred]"I'm shiny, Captain."[/color][/b] Kaylee on Firefly [i](my fave show of all time!)[/i]

Acer Aspire 3623 Laptop w/256MB RAM, 40G HD, Atheros AR5005G Wireless, Intel Celeron M, Running Puppy 4.0 Full Install!!!

I LOVE PUPPY!!!

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#2 Post by Béèm »

This thread was a solution for puppy 302.
In Dingo it should work.
What exactly is the problem.
Can you show, if possible, screenshots to illustrate your problem?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Bruce B

#3 Post by Bruce B »

Béèm wrote:This thread was a solution for puppy 302.
In Dingo it should work.
What exactly is the problem.
Can you show, if possible, screenshots to illustrate your problem?
Béèm,

I already answered this one in a full post. Then I got thinking like
you: What exactly is the problem?

Then I decided to NOT submit my post. The decision came when I
started thinking maybe the problem is the water runs down the
bathtub in a reverse direction in Australia than it does in the
Northern Hemisphere. Can we consider time and neglect the
rotation of the planet?

Bruce

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#4 Post by Béèm »

Bruce wrote:The decision came when I
started thinking maybe the problem is the water runs down the
bathtub in a reverse direction in Australia than it does in the
Northern Hemisphere. Can we consider time and neglect the
rotation of the planet?
So if I understand you well, in fact we are running on the northern part of the globe an upside down Puppy/Dingo . :wink: :lol:
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Bruce B

#5 Post by Bruce B »

Of course Béèm. The topic title says: Tried Everything.

I think maybe the key to all of this is, one thing wasn't tried, running
Puppy from Australia.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#6 Post by Béèm »

:lol:
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#7 Post by muggins »

I'm using p2.16 and, like in previous pupversions, the Set Timezone utility is using inverted logic, in that GMT+10 hours is set by selecting -10. Is this still the case with pup4?

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#8 Post by Béèm »

Not for me Muggins in Dingo 406
Attachments
time-zone-dingo406.png
(42.48 KiB) Downloaded 1499 times
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
shroomy_bee
Posts: 536
Joined: Sat 28 Jun 2008, 16:54
Contact:

#9 Post by shroomy_bee »

I've noticed that setting the correct timezone in any linux doesn't yield the correct time. It's usually two hours wrong, in Pup my GMT is actually two hours ahead of GMT, putting me on far Eastern Europe time instead. Offhand I can't recall exactly if the others are wrong in the same direction.
I figured it was just an old script or something that had an error in it (likely due to BST as in British SummerTime confusions), cause a lot of forums online also get it wrong if you select the timezone that matches your actual location.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

Re: Timezone can't be set, tried everything!

#10 Post by ttuuxxx »

blacktulipgirl wrote:I already tried this :
http://www.murga-linux.com/puppy/viewto ... 76&t=32223

What now?
Hi I just set mine in puppy 4.0 dingo,
menu/Desktop/Set Time Zone
then I adjusted my clock
menu/Desktop/Set date and time
and it worked
well the time changed.

ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
blacktulipgirl
Posts: 31
Joined: Wed 27 Aug 2008, 15:13

#11 Post by blacktulipgirl »

I set the timezone, I set the time and date, 5 times, each time with a reboot, it keeps coming up incorrect.

Image

This is a pic, the actual time was 9:15am

I tried a new timezone file as well that mibbit sent me and its still screwed up.

I am in Vancouver , BC. I am running Puppy 4.0, IceWM,.

Any help appreciated!

B
[b][color=darkred]"I'm shiny, Captain."[/color][/b] Kaylee on Firefly [i](my fave show of all time!)[/i]

Acer Aspire 3623 Laptop w/256MB RAM, 40G HD, Atheros AR5005G Wireless, Intel Celeron M, Running Puppy 4.0 Full Install!!!

I LOVE PUPPY!!!

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#12 Post by Aitch »

Have you tried deliberately setting it wrong, say London, UK, rebooting and seeing if it'll stick, then resetting it to your local time afterwards?

I found I could reset mine in UK, after selecting NY, USA

strange thing, time, eh?

when you have loads of it it goes slowly, when you have important things to do it is too quick! :wink:

Aitch

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#13 Post by Béèm »

blacktulipgirl.
It still isn't clear for me how you set the time zone.
Can you post a screen shot of the selection panel?
I am not quite sure, as my Dingo400 time is lon past, that I had such an issue as well.
I didn't find a cure until later versions, I think.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Bruce B

#14 Post by Bruce B »

Ntpdate doesn't set the right time in Puppy 4 (Solved)

Is it solved or accepted?

I completely rewrite everything in /etc/profile, it doesn't
calculate, I tell it the data for all variables.

Here are my TZ entries:

#export TZ=America/Los_Angeles
export TZ=Etc/GMT-8

Either one are valid, but I like the date output better for the
uncommented one.

Back in 1.xx I wrote Barry on the forum that something is backward.
He said GuestToo has been telling him the same thing. Was the
interface backward with mixed up - and + or was it at a lower level?
Has it been fixed? I don't know, but I have a suspicion that it may
not be.

I just don't play with the Time Zone Interface anymore.

Maybe ttuuxxx, if he changed things, can report on the value of the
TZ variable.

I don't think the GUI would even work for me after completely
rewriting profile.

Maybe after all the humorous fun we've had, there is something of
value in this post for blacktulipgirl

-------------------

If anyone cares what a manually written profile can look like here is
a sample of some portions that won't word wrap. The key
advantage is speed, much, much faster processing.

export USER=root
export PS1="{\w} "
export LOGNAME=root
export HISTCONTROL=ignoredups
export HISTFILESIZE=2000
export HISTSIZE=1000
export EDITOR=mp
export INPUTRC=/etc/inputrc
export TERM=xterm
export XFINANSDIR=/root/.xfinans
export XLIB_SKIP_ARGB_VISUALS=1
export LANG=en_US
#export TZ=America/Los_Angeles
export TZ=Etc/GMT-8
export HOSTNAME=puppypc
export SHSQL_DB=/root/ghttpd/quisp
export SHELL=/bin/bash
export G_FILENAME_ENCODING=en_US
export MM_RUNASROOT=1
export DEFAULTBROWSER=mozstart
export DEFAULTDRAW=inkscapelite
export DEFAULTHTMLEDITOR=mozedit
export DEFAULTMEDIAPLAYER=gxineshell
export DEFAULTPAINT=mtpaint
export DEFAULTSPREADSHEET=gnumeric
export DEFAULTTEXTEDITOR=geany
export DEFAULTWORDPROCESSOR=abiword
export HISTFILESIZE=2000
export HISTCONTROL=ignoredups
export HOME=/root
alias ls='ls --color=always'
. /root/.bashrc

----------------------

Puppy has two files which could be of interest for people setting
their own TZ

/usr/share/zoneinfo/iso3166.tab
/usr/share/zoneinfo/zone.tab

---------------------

User avatar
blacktulipgirl
Posts: 31
Joined: Wed 27 Aug 2008, 15:13

SOLVED (kinda)

#15 Post by blacktulipgirl »

I set the time zone to London, and its now showing the correct time and date for me in Vancouver.... very odd, but I have stopped caring. If there comes a time when there is an update that works I will gladly install it but for now this will have to do...

back to work for me!

Thanks all :)
[b][color=darkred]"I'm shiny, Captain."[/color][/b] Kaylee on Firefly [i](my fave show of all time!)[/i]

Acer Aspire 3623 Laptop w/256MB RAM, 40G HD, Atheros AR5005G Wireless, Intel Celeron M, Running Puppy 4.0 Full Install!!!

I LOVE PUPPY!!!

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#16 Post by Béèm »

OK it's your call if yo want to leave things as they are.
I saw you mentioned solved kinda in the subject line of your last post.
In order for everybody to see it, you should do this in the subject line of you first post.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
erikson
Posts: 735
Joined: Wed 27 Feb 2008, 09:22
Location: Ghent, Belgium
Contact:

#17 Post by erikson »

EDIT: some of my assertions in this and further posts are incorrect. Read on through the thread for further corrections.

---
Bruce B wrote:Back in 1.xx I wrote Barry on the forum that something is backward. He said GuestToo has been telling him the same thing. Was the interface backward with mixed up - and + or was it at a lower level? Has it been fixed? I don't know, but I have a suspicion that it may not be.
Insofar I can trace, the confusion isn't specific to Puppy, not even to Linux, and started with unix/POSIX:
Numeric time zone abbreviations typically count hours east of UTC, e.g., +09 for Japan and -10 for Hawaii. However, the POSIX TZ environment variable uses the opposite convention. (my emphasis)
In other words, POSIX counts time offsets negative for zones east of the Greenwich meridian, where time is ahead of GMT. (Source of quote: http://www.twinsun.com/tz/tz-link.htm)

I've described what works for me in post
http://www.murga-linux.com/puppy/viewto ... 231#214231
(1) Using Menu > Desktop > Set timezone, select time offset with inverted sign. Example: I'm in MEST timezone (Middle European Summer Time) = GMT+2. So I select timezone GMT-2.

(2) Using Menu > Desktop > Set date and time, set local date and time.

(3) Steps (1)(2) set the hardware RTC (real-time clock). You can now verify RTC date/time by opening console and typing hwclock. This should show your correct local time with correct GMT offset, e.g. in my case

Code: Select all

# hwclock
Sat 12 Jul 2008 09:53:22 PM GMT+2  -0.646147 seconds
#
(4) Power down for a couple of minutes, reboot, and verify hwclock again. If time is wrong (random), you should suspect the RTC on your motherboard or the battery that powers it.
Last edited by erikson on Wed 03 Sep 2008, 19:01, edited 1 time in total.
[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#18 Post by Béèm »

hmmm, I select the city I am in (Brussels) and hwclock gives

Code: Select all

# hwclock
Sun 31 Aug 2008 01:45:30 PM CEST  -0.647035 seconds
# 
I always have had problems getting the clock/timezone right.
Attachments
timezone-selector.png
(15.22 KiB) Downloaded 910 times
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
erikson
Posts: 735
Joined: Wed 27 Feb 2008, 09:22
Location: Ghent, Belgium
Contact:

#19 Post by erikson »

Béèm wrote:I always have had problems getting the clock/timezone right.
Well, I just reported what I found to work for me on my laptop (as the result of tedious experimentation a few months ago).

The major difficulty was to get Puppy (various versions, 2.16/3.01/4.00) and Windows agree on time, i.e. systematically display the correct time whenever I reboot back and forth between Puppy and Windows. I haven't yet tried the latest Dingo alpha's.

I use the GMT-with-inverted-offset (ala POSIX) setting and I don't use the "city" timezone setting because the latter resulted into erroneous time in Windows.

Even so, various PC brands/models may have slightly different hardware (RTC) clock that might cripple my method.
Sun 31 Aug 2008 01:45:30 PM CEST -0.647035 seconds
By the way, CEST (Central European Summer Time) is the same as what I called MEST or rather MEZT (Midden-Europese Zomer Tijd in Dutch), and is GMT+2 in "normal" logic (i.e. timezone offset -2 in POSIX logic), so your hwclock reading is consistent with mine.

Is your machine dual-boot? I just wonder if your Windows time is correct.
[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]

Bruce B

#20 Post by Bruce B »

Erikson,

Your explanation, I suspect is the real reason.

On 4.00 The GUI time zone is set for Hong Kong, which would be right for being reverse of what it should be.

The actual TZ and Locale was always right for some reason. But even if it weren't, I'd deal with it at the level of the configuration file.

I took this thread with a little humor, because I've yet to see solutions, beside workarounds.

And if you know in advance that + equals - , it shouldn't be hard to make things correspond, I wouldn't think.

Bruce

Post Reply