Timezone


Forum: Other Help Topics
Topic: Timezone
started by: ravngundersen

Posted by ravngundersen on Oct. 08 2004,12:55
I have a hard time to change the timezone in DSL, any suggestions?
Posted by cbagger01 on Oct. 09 2004,02:12
Time application in the DSL control panel?
Posted by Patrick on Oct. 10 2004,17:06
What time application ? (in the control panel?)
Posted by ravngundersen on Oct. 11 2004,06:45
I wounder to...
I can't find any time configuration.

And by the way, is it possible to change the mouse cursor?

Posted by MadRabies on Oct. 31 2004,20:54
I would like to see an answer, as well. I'm an hour off.
Posted by cbagger01 on Nov. 01 2004,04:05
Once upon a time, there was a timezone application in the Damn Small Control panel called "tzconfig".

It must have been removed for some reason.

Posted by Patrick on Nov. 01 2004,07:43
In the Netherlands (Holland) we are "on wintertime" which means the clock has gone back one hour... I'd like to change that in DSL (it there a possibility to automate that/timeserver...?)
Posted by ravngundersen on Nov. 01 2004,07:44
Quote (Patrick @ Nov. 01 2004,02:43)
In the Netherlands (Holland) we are "on wintertime" which means the clock has gone back one hour... I'd like to change that in DSL (it there a possibility to automate that/timeserver...?)

same problem in norway.
Posted by henk1955 on Nov. 01 2004,11:47
if you look at /etc/default/rcS, you see
Quote
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=no

i think this means DSL expects the hwclock uses local time. so it doesnt use TZone info
now i found a < Setting your systemtime >.
this may be useful.

Posted by AwPhuch on Nov. 01 2004,17:59
Quote (Guest @ Nov. 01 2004,06:47)
if you look at /etc/default/rcS, you see
Quote
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=no

i think this means DSL expects the hwclock uses local time. so it doesnt use TZone info
now i found a < Setting your systemtime >.
this may be useful.

Quote
Warning!!!
This is not the best way to set your system time. It is not even the recommended way to set your system time. As a matter of fact, most documentation warns you AGAINST setting your system time with the date command, which is what this document discusses.

That being said, this is simple, and for small time adjustments, I personally use it.


YOIKS!!!!!!!!!!

Brian
AwPhuch

Posted by AwPhuch on Nov. 01 2004,18:11
Quote (cbagger01 @ Oct. 31 2004,23:05)
Once upon a time, there was a timezone application in the Damn Small Control panel called "tzconfig".

It must have been removed for some reason.

Its there...it just doenst run on my system

Perhaps others might have better luck
Just open a terminal and type tzsetup

Brian
AwPhuch

Posted by henk1955 on Nov. 01 2004,18:58
if you look inside tzsetup ( it is a shell script) you will see it needs files in usr/share/zoneinfo.
there is only US. maybe a *.dsl can be made including these files. until then the choice is yours.

Posted by somerville32@hotmail.com on Nov. 01 2004,20:55
Same problem here! I was just going to come on and ask how to change my time :)
Posted by AwPhuch on Nov. 01 2004,21:40
Quote (Guest @ Nov. 01 2004,13:58)
if you look inside tzsetup ( it is a shell script) you will see it needs files in usr/share/zoneinfo.
there is only US. maybe a *.dsl can be made including these files. until then the choice is yours.

inside /usr/share/zoneinfo localtime is a softlink to /etc/localtime..which is unreadable by cat or uneditable by vi

Now what?

Brian
awPhuch

Posted by henk1955 on Nov. 01 2004,22:20
Quote
Package: libc6 (2.3.2.ds1-18)
GNU C Library: Shared libraries and Timezone data

Contains the standard libraries that are used by nearly all programs on the system. This package includes shared versions of the standard C library and the standard math library, as well as many others. Timezone data is also included.

Timezone data is in libc6 debian package.
download, extract, copy the timezone data for your zone to /usr/share/zoneinfo create a link  /etc/localtime to this file.
the timezone data files are not readable in a texteditor.

but this is all a lot of work so i did it the easy way < ignored the warning > and read the whole story, so i know what is does and how it works.

Posted by roberts on Nov. 02 2004,02:13
Because of size restrictions DSL uses local time as user Henk has pointed out.
You can set the time in the bios, or you can use the date command followed by the hwclock command, or use the site that Henk has shared with us. Note: you can get "help" by using "--help" option, e.g.,  

date --help
hwclock --help

Example:

date 11011805
hwclock -wl

This will set the system date and then write that value to the hardware clock.

Posted by ravngundersen on Nov. 02 2004,08:57
Problem is when dealing with mysql and others, that it looks at the timezone and updates time values according. So in the database the time values will be off with X hours.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.