Bug 510 - add timezone awareness to clock setting
: add timezone awareness to clock setting
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 5.x or older
: Macintosh All
: P2 enhancement with 3 votes (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks: 8716
  Show dependency treegraph
 
Reported: 2004-08-24 19:38 UTC by wai
Modified: 2011-01-14 15:12 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wai 2004-08-24 19:38:58 UTC
My slimserver host is configured for UTC but I live in the Eastern time zone. 
The Squeezebox is showing UTC time, therefore, which is amusing but not helpful.
 I would like an additional config item to set a time zone offset (in hours) to
make the squeezebox display show correct local time.  Handling daylight savings
changes automagically would be a pleasant additional capability.  TIA!
Comment 1 KDF 2004-08-26 13:58:50 UTC
globally replacing the Time::HiRes::time() call with a custom slimserver time()
function would allow the server to add in any timezone offset, but don't forget
that any existing plugins will need to be changed if they use the
Time::HiRes::time() functions. AlarmPlugin and AutoDisplay are two examples that
I can think of.
Comment 2 Blackketter Dean 2004-09-04 08:28:19 UTC
Actually, the wall clock time is not derived from Time::HiRes because this function (on Windows) drifts 
with respect to wall-clock time as a tradeoff for high resolution.  the built-in time() function is used to 
obtain wallclock time.

Which reminds me, when setting alarms for wall-clock time, they should be derived from time() as well, 
to account for this drift.
Comment 3 Blackketter Dean 2005-06-07 11:18:25 UTC
Moving bugs that won't be immediately fixed in 6.1 release. Please review and update if this is an error 
or if this bug has already been fixed.  Thanks.
Comment 4 cdl 2005-10-07 02:57:24 UTC
I would want the alarm and other time-based features on the players to link to the timezone aware time 
vs. the server time.
Comment 5 Chris Owens 2008-12-18 11:48:59 UTC
Routine bug db maintenance; removing old versions which cause confusion.  I apologize for the inconvenience.
Comment 6 Chris Owens 2010-05-06 15:54:38 UTC
Dean doesn't work here any more :)
Comment 7 Andy Grundman 2011-01-14 14:31:05 UTC
Not going to be fixed, it is not unreasonable to assume a server should have the correct time zone set.
Comment 8 David Wilson 2011-01-14 15:12:53 UTC
(In reply to comment #7)
> Not going to be fixed, it is not unreasonable to assume a server should have
> the correct time zone set.

I think we (you) have lost sight of the original issue.  The problem is not that the server is wrong, the problem is that a server often is supporting players in different time zones.  Ref bug 8716, I have a server on GMT with 9 players local, and then players on Central European Time, and on Eastern Standard Time.  Only the GMT players are correct.  Now, you can suggest that I also have servers in Europe and in the US to support my players there, but that's not really sensible.  A lot of people now stream their music from their home server.  You have the option for mysqueezebox.com attached players - we just want the same when players are hooked up to our own servers.  This requires a time-zone offset value to be set for each player.  

Been waiting nearly 7 years now!