Automatic Daylight Savings Time?

More
1 month 6 days ago #184294 by haubel
Hello! Twice a year I have to manually set the time because apparently LimeSurvey doesn't adjust to Daylight savings?

The only place I can see where to set the time is in Configuration/Global Settings/General/Time difference (In Hours). Is that the only way? Is there a way to automatically adjust the time?

Thanks!

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
1 month 6 days ago #184298 by holch
Limesurvey is stupid, it doesn't know anything about time. It takes the time from the system. So if your server does not adapt automatically to the daylight savings time automatically, then Limesurvey won't either.

The place you are looking at is also the only one that I know of.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
1 month 6 days ago #184300 by haubel
Thanks for the reply. Our server updates its time automatically but I still have to correct the time manually whenever we go from CST to CDT to CST . . . I was thinking maybe the setting for daylight savings is somewhere in the config-defaults.php file or one of those . . .

Please Log in or Create an account to join the conversation.

More
1 month 6 days ago #184302 by holch

Our server updates its time automatically


This sounds weird. But maybe the time is also only relative, so your server shows you the daylight savings time, but the system time has not changed at all (most probable explanation).

But I am not an expert on this.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
1 month 6 days ago #184305 by jelo
The timezone for LimeSurvey is defined via PHP with a database with contains DST too.
So check e.g. PHP.ini for the timezone.
www.php.net/manual/timezones.php

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in or Create an account to join the conversation.

More
1 month 5 days ago #184306 by DenisChenu

holch wrote:

Our server updates its time automatically


This sounds weird.

It's the task of doc.ntp.org/4.1.0/ntpd.htm on linux.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 month 5 days ago #184357 by holch

It's the task of doc.ntp.org/4.1.0/ntpd.htm on linux.


But isn't that not only the time shown? The actual system time, does it actually change?

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
1 month 5 days ago #184358 by jelo

holch wrote: The actual system time, does it actually change?

That is syncing the local clock with a timeserver. That is to keep the hardware clocks exact in sync. Which isn't helping for timezones (where daylightsaving time is not used everywhere and changed at the same day).

When it comes to webhosting you might have more than one website on a server which can differ in timezones. So you like to set the php timezone per php application. If you cannot set the correct timezone via php you can correct the time via the time offset field inside LimeSurvey. If you can set the timezone via php you will see the correct time inside LimeSurvey.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu, holch

Please Log in or Create an account to join the conversation.

More
1 month 3 days ago #184533 by haubel
Thank you very much! That set the time to the correct time zone. I had it setup to
Time difference (in hours): -5/-6 depending on the time of the year. I just modified the php.ini and that's gone. I hope when they change the time back in October it takes the correct.

Thank you very much!!!

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!