Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Timezone on ccgi
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Timezone on ccgi
Timezone on ccgi
30-03-2015 11:01 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I have a perl program running on the new CCGI server which I recently migrated back from the Plesk server when that was decommissioned. I had cause to use this program in anger yesterday, the first day of BST, and all the times displayed using the localtime system call were an hour out.
I fixed it pretty easily by setting the TZ environment variable to "Europe/London" within my program, but I was surprised that this was necessary. On the Plesk server I didn't need to do that, and I would have thought that CCGI would have the correct default timezone to cope with the clock change.
Is this something that ought to be changed?
I fixed it pretty easily by setting the TZ environment variable to "Europe/London" within my program, but I was surprised that this was necessary. On the Plesk server I didn't need to do that, and I would have thought that CCGI would have the correct default timezone to cope with the clock change.
Is this something that ought to be changed?
Message 1 of 2
(806 Views)
1 REPLY 1
Re: Timezone on ccgi
30-03-2015 7:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: driveconsultants Is this something that ought to be changed?
Relying on the system setting for timezone is generally deprecated these days. Hostopia probably use a generic set-up for their servers anyway and since the server is not in the UK it is a moot point which EU country TZ should be set.
Leaving it to the individual is my preference.
David
Message 2 of 2
(264 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page