<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Incorrect Reminder Message Log Time</title> 
  <pubDate>Sun, 05 Apr 2026 20:29:58 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8496</link> 
  <atom:link rel="self" type="application/rss+xml" title="Incorrect Reminder Message Log Time" href="https://bugs.horde.org/ticket/8496/rss" /> 
  <description>Incorrect Reminder Message Log Time</description> 
 
   
   
  <item> 
   <title>We are using Horde Webmail Group Edition 1.2.3.  When testin</title> 
   <description>We are using Horde Webmail Group Edition 1.2.3.  When testing the script



horde/kronolith/scripts/reminders.php



, the log lines associated with the sending of the reminder (from line 476 in horde/kronolith/lib/Scheduler/kronolith.php



is using the timezone specified by the user, not the system.  



The date and time associated with the message (in the message&#039;s headers) and the syslog lines should be consistent with the system, not the individual user&#039;s locale settings.  </description> 
   <pubDate>Thu, 13 Aug 2009 21:06:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t55305</link> 
  </item> 
   
  <item> 
   <title>This has nothing to do with reminders, this is how Horde log</title> 
   <description>This has nothing to do with reminders, this is how Horde logging currently works.</description> 
   <pubDate>Thu, 20 Aug 2009 16:32:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t55485</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/Horde/Attic/Horde.php?rt=horde&amp;r1=1.489.2.114&amp;r2=1.489.2.115&amp;ty=u</description> 
   <pubDate>Thu, 20 Aug 2009 16:33:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t55486</link> 
  </item> 
   
  <item> 
   <title>Try what I committed?</title> 
   <description>Try what I committed?</description> 
   <pubDate>Thu, 20 Aug 2009 16:33:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t55487</link> 
  </item> 
   
  <item> 
   <title>Really close.  I like your conservative approach.  :)



The</title> 
   <description>Really close.  I like your conservative approach.  :)



The only problem I ran into was that the TZ environment variable was still set, so it continued to override the system settings.  I must admit to not being an expert, but, I think, that something like the following is needed:



lib/Horde.php (starting line 77)



        /* Make sure to log in the system&#039;s locale and timezone. */

        $locale = setlocale(LC_TIME, 0);

        setlocale(LC_TIME, &#039;C&#039;);

        $tz = getenv(&#039;TZ&#039;);

--&gt;    @putenv(&#039;TZ&#039;);



Thereby unsetting the TZ environment variable and letting the PHP mechanisms and system settings to be applied to logging.  



</description> 
   <pubDate>Thu, 20 Aug 2009 21:03:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t55500</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/Horde/Attic/Horde.php?rt=horde&amp;r1=1.489.2.115&amp;r2=1.489.2.116&amp;ty=u</description> 
   <pubDate>Thu, 20 Aug 2009 21:43:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t55501</link> 
  </item> 
   
  <item> 
   <title>Bummer, that&#039;s what this ticket was about. :)</title> 
   <description>Bummer, that&#039;s what this ticket was about. :)</description> 
   <pubDate>Thu, 20 Aug 2009 21:44:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t55502</link> 
  </item> 
   
  <item> 
   <title>It appears to be working.  Thanks!</title> 
   <description>It appears to be working.  Thanks!</description> 
   <pubDate>Fri, 21 Aug 2009 20:25:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t55528</link> 
  </item> 
   
  <item> 
   <title>I was wrong.  :(  I failed you.



The error is that the uns</title> 
   <description>I was wrong.  :(  I failed you.



The error is that the unsetting of the TZ environment variable should only take place if it is set.

If it isn&#039;t, then it will generate a segmentation violation.  So, we are close.



I modified the clearing of the variable to be in a conditional statement...like what you use to restore the value.



if ($tz) {

   @putenv(&#039;TZ&#039;);

}



I still need to verify whether it corrects the logging issue, but without the conditional, the behavior is quite undesirable.  :)</description> 
   <pubDate>Thu, 27 Aug 2009 21:05:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t55562</link> 
  </item> 
   
  <item> 
   <title>This is a serious bug in PHP then.</title> 
   <description>This is a serious bug in PHP then.</description> 
   <pubDate>Thu, 27 Aug 2009 21:41:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t55563</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 49b1c20490f2</title> 
   <description>Changes have been made in Git (master):

commit 49b1c20490f26decc17f4c303498908f7398d67e
Author: Moritz Venn &lt;ritzmo@php.net&gt;
Date:   Fri Aug 18 11:37:04 2006 +0000

    Fix Bug #8496 (thanks Brian)
    
    
    git-svn-id: https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@218410 c90b9560-bf6c-de11-be94-00142212c4b1

 Text/Wiki/Parse/Mediawiki/Table.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://github.com/horde/horde/commit/49b1c20490f26decc17f4c303498908f7398d67e</description> 
   <pubDate>Wed, 06 Sep 2017 08:18:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8496#t92201</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
