Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Automatic Daylight Savings Time?

  • haubel
  • haubel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #184294 by haubel
Automatic Daylight Savings Time? was created 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!
The topic has been locked.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184298 by holch
Replied by holch on topic Automatic Daylight Savings Time?
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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • haubel
  • haubel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #184300 by haubel
Replied by haubel on topic Automatic Daylight Savings Time?
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 . . .
The topic has been locked.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184302 by holch
Replied by holch on topic Automatic Daylight Savings Time?

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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
More
4 years 10 months ago #184305 by jelo
Replied by jelo on topic Automatic Daylight Savings Time?
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
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184306 by DenisChenu
Replied by DenisChenu on topic Automatic Daylight Savings Time?

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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • holch
  • holch's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184357 by holch
Replied by holch on topic Automatic Daylight Savings Time?

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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
More
4 years 10 months ago #184358 by jelo
Replied by jelo on topic Automatic Daylight Savings Time?

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
The topic has been locked.
  • haubel
  • haubel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #184533 by haubel
Replied by haubel on topic Automatic Daylight Savings Time?
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!!!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose