6.0.0-beta1
7/24/25

[#3832] Sunrise/sunset times incorrect
Summary Sunrise/sunset times incorrect
Queue Horde Base
Queue Version 3.1.1
Type Bug
State Resolved
Priority 1. Low
Owners
Requester administrator (at) stratusstudios (dot) hopto (dot) org
Created 04/25/2006 (7030 days ago)
Due
Updated 06/29/2006 (6965 days ago)
Assigned 04/27/2006 (7028 days ago)
Resolved 06/29/2006 (6965 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/29/2006 08:31:36 AM Jan Schneider Comment #12
State ⇒ Resolved
Reply to this comment
Assuming this is fixed now.
05/18/2006 11:34:30 AM administrator (at) stratusstudios (dot) hopto (dot) org Comment #11 Reply to this comment
I'll try upgrading php and seeing what happens.
05/18/2006 10:17:05 AM Jan Schneider Comment #10 Reply to this comment
I just tried again on a Windows Server 2003 with PHP 4.4.2 and it 
works perfectly with the default timezones in nls.php.
05/17/2006 10:59:01 PM administrator (at) stratusstudios (dot) hopto (dot) org Comment #9 Reply to this comment
Just to confirm what I said, I added this:

$tz['GMT -0400'] = 'America/Toronto';



and after I change it, it seems to give a different set of times, but 
it doesn't seem to calculate it properly.



For GMT, the times are 09:51 and 00:38 for sunrise/sunset (seem right, 
just off by x hours)

When i change to America/Toronto, it goes to 02:38 and 17:51....go figure!



also it might be a moot point as i'm favouring an older version of 
horde where imp doesn't have a sendmail issue for msg composition.



-Jeremy
05/17/2006 11:33:12 AM administrator (at) stratusstudios (dot) hopto (dot) org Comment #8 Reply to this comment
Hi,

If by editing the time zone you meant changing the array so that the 
associated option in the menu now had a time zone found in the msdn 
classes, it essentially did the same thing (left at GMT +0100).   
however i did not spend too much time trying yet so i'll continue to 
see if anything else works.
05/17/2006 08:07:18 AM Jan Schneider Comment #7 Reply to this comment
Did this work for you?
04/29/2006 03:47:12 PM Jan Schneider Comment #6 Reply to this comment
Depending on the Windows version, the timezone names in config/nls.php 
might not be supported. Try to find out the supported timezones for 
your windows version, probably on http://msdn.microsoft.com, and use 
them in nls.php.
04/29/2006 02:58:48 PM administrator (at) stratusstudios (dot) hopto (dot) org Comment #5 Reply to this comment
Hi,

There is a chance it might be a bug in PHP itself.  I notice that 
using date() also gives the wrong time, saying that i'm GMT +0100 and 
in BST.  This is a Windows server using PHP 4.3.3; is there a known 
bug?  If that's the case then Horde is fine.  If so, is there a fix?
04/29/2006 10:10:00 AM Jan Schneider Comment #4 Reply to this comment
Strange, works perfectly here. Can you confirm that the timezones that 
you can set in the Global Options are really supported and work 
correctly on your system?
04/27/2006 02:08:02 PM administrator (at) stratusstudios (dot) hopto (dot) org Comment #3 Reply to this comment
Hi,

if you mean global options->locale and time, yes.  And regardless of 
what time zone i specify, it does seem to remain stuck in GMT.
04/27/2006 11:54:02 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Are you sure you set the correct timezone in the user's preferences?
04/25/2006 09:38:10 PM administrator (at) stratusstudios (dot) hopto (dot) org Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Sunrise/sunset times incorrect
Queue ⇒ Horde Base
State ⇒ Unconfirmed
Reply to this comment
Hi,

I've set up the sunrise/sunset 'widget', and I noticed very strange 
times (such as the sun rising in the afternoon and setting sometime 
around midnight), and based on testing several time zones, I think it 
is displaying all times based on GMT, but the server and client's 
locales are fine (the server is pacific, client eastern, and the 
client is set to america/montreal).  Is this by design or should it 
convert the time?



Thanks

Jeremy

Saved Queries