<?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>Date column not updated after midnight</title> 
  <pubDate>Fri, 10 Apr 2026 07:03:40 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9773</link> 
  <atom:link rel="self" type="application/rss+xml" title="Date column not updated after midnight" href="https://bugs.horde.org/ticket/9773/rss" /> 
  <description>Date column not updated after midnight</description> 
 
   
   
  <item> 
   <title>This is really just a cosmetical issue. But after midnight, </title> 
   <description>This is really just a cosmetical issue. But after midnight, yesterday&#039;s messages are not updated to only show the date. This would actually be fine, but if you navigate to a mailbox after midnight that hat receiced new messages before midnight, you now have mixed date and time for yesterday&#039;s messages.</description> 
   <pubDate>Fri, 01 Apr 2011 23:13:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t62991</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

[mms] Purge </title> 
   <description>Changes have been made in Git for this ticket:

[mms] Purge browser cache daily in dynamic view; updates time stamps to proper format (Request #9773).

 6 files changed, 54 insertions(+), 25 deletions(-)
http://git.horde.org/horde-git/-/commit/b56b7893d8fbba53ea6498709809edb65a06f0ba</description> 
   <pubDate>Wed, 23 Nov 2011 01:23:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t69003</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Fix regressi</title> 
   <description>Changes have been made in Git for this ticket:

Fix regressions in search mailboxes due to Ticket #9773
Move UIDVALIDITY check before empty mailbox check, since a UIDVALIDITY
failure should cause all viewport information to be reset, regardless of
whether the mailbox contains messages.

UIDVALIDITY will also fail when the day changes, so metadata creation
needs to appear below this line since metadata will be reset in this
instance.

 2 files changed, 36 insertions(+), 36 deletions(-)
http://git.horde.org/horde-git/-/commit/6f435e07cd2a1419a35c1de8f73fa81cc3d22b9c</description> 
   <pubDate>Wed, 30 Nov 2011 22:29:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t69194</link> 
  </item> 
   
  <item> 
   <title>&gt; [...]
&gt; UIDVALIDITY will also fail when the day changes, </title> 
   <description>&gt; [...]
&gt; UIDVALIDITY will also fail when the day changes, so metadata creation
&gt; needs to appear below this line since metadata will be reset in this
&gt; instance.

doesn&#039;t work for me (see #12940) with IMP 6.1.6, Horde_Imap_Client 2.17.1. IMAP server is Cyrus 2.4.17.

Do I read it correctly, that I should trace the first IMAP call after a (server) date change to see what is going wrong?</description> 
   <pubDate>Thu, 30 Jan 2014 09:22:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t82189</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; [...]
&gt;&gt; UIDVALIDITY will also fail when the day changes</title> 
   <description>&gt;&gt; [...]
&gt;&gt; UIDVALIDITY will also fail when the day changes, so metadata creation
&gt;&gt; needs to appear below this line since metadata will be reset in this
&gt;&gt; instance.
&gt;
&gt; doesn&#039;t work for me (see #12940) with IMP 6.1.6, Horde_Imap_Client 
&gt; 2.17.1. IMAP server is Cyrus 2.4.17.

Verified working.  The browser cache ID for a mailbox is appended with a string of the form &quot;D###&quot; where ### indicates the current day of the year.  This cache id is guaranteed to change after midnight, at which point the browser empties its message cache and fetches a new mailbox slice from the server (with the updated dates).</description> 
   <pubDate>Thu, 30 Jan 2014 19:44:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t82200</link> 
  </item> 
   
  <item> 
   <title>
&gt;&gt; doesn&#039;t work for me (see #12940) with IMP 6.1.6, Horde_</title> 
   <description>
&gt;&gt; doesn&#039;t work for me (see #12940) with IMP 6.1.6, Horde_Imap_Client
&gt;&gt; 2.17.1. IMAP server is Cyrus 2.4.17.
&gt;
&gt; Verified working.  The browser cache ID for a mailbox is appended 
&gt; with a string of the form &quot;D###&quot; where ### indicates the current day 
&gt; of the year.  This cache id is guaranteed to change after midnight, 
&gt; at which point the browser empties its message cache and fetches a 
&gt; new mailbox slice from the server (with the updated dates).

attached a &quot;proof-of-notworking4me&quot; image from today - you can clearly see yesterday&#039;s messages with time-only timestamps. It&#039;s from a session run over-night.

According to &quot;pear list-ugrades&quot;, the server is running the latest modules as of today. I had run a &quot;horde-clear-cache&quot; after the recent upgrade (which, iirc, included an update to some caching module). But these symptoms have been here since forever, not just after the recent upgrade. And in case it might matter, we&#039;re running Kolab backends here.

How may I trace this &quot;browser cache ID&quot; thing - I ran a network trace last night, but unfortunately forgot to tune down the encryption methods... wireshark wouldn&#039;t decode the SSL traffic despite having the private server key :[ Is that the right traffic to look at (so I&#039;d repeat the test next night) or is this something that acts either client-side only or server-side only?

This still is low prio to me, but since I&#039;ve already started looking into this, I offer to take it further...</description> 
   <pubDate>Fri, 31 Jan 2014 09:41:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t82208</link> 
  </item> 
   
  <item> 
   <title>&gt; How may I trace this &quot;browser cache ID&quot; thing

Firebug i</title> 
   <description>&gt; How may I trace this &quot;browser cache ID&quot; thing

Firebug is probably best.  The cacheid is sent in the imp:viewport task object contained in the JSON responses to various mailbox actions.

It looks something like this: &quot;VTIxMTkyLFYxMjU1Njg1MzM4LEg1MDEwNQ==|9|0|D34&quot;</description> 
   <pubDate>Tue, 04 Feb 2014 07:08:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t82250</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; How may I trace this &quot;browser cache ID&quot; thing
&gt;
&gt; Fireb</title> 
   <description>&gt;&gt; How may I trace this &quot;browser cache ID&quot; thing
&gt;
&gt; Firebug is probably best.  The cacheid is sent in the imp:viewport 
&gt; task object contained in the JSON responses to various mailbox 
&gt; actions.
&gt;
&gt; It looks something like this: &quot;VTIxMTkyLFYxMjU1Njg1MzM4LEg1MDEwNQ==|9|0|D34&quot;

Finally I got around to testing this with Firebug - I&#039;m sorry for the delay.

After a fresh page reload (I had logged in previously, selected my INBOX for display and selected your latest Horde bug reply - then I hit the browser&#039;s &quot;reload&quot; icon), I do see the mentioned imp:viewport with it&#039;s cache id as part of the imp/dynamicInit POST request:

cacheid 	&quot;VTM5MDAyLFYxMjU2NTc2OTUwLEgzMjY5Ng==|1|1|D42&quot;

From then on, imp/poll POST requests (besides the toolbar updates) are the only requests I see, either automatically or by pressing IMP&#039;s &quot;update&quot; link. Their response JSON only has imp:poll and imp:quota objects in &quot;tasks&quot; - neither contain a cacheid.

The first imp/poll after midnight then actually has a viewport object with a cacheid element:

cacheid	&quot;VTM5MDAyLFYxMjU2NTc2OTUwLEgzMjY5Ng==|1|1|D43&quot;

This is indeed different from the cacheid reported initially, but as observed previously, the time stamps in the message list remain as &quot;time-only&quot; even after the imp/poll requests after midnight.

Further requests again have no viewport object in their responses.

Seems like the cache id change goes by unnoticed?

Regards,
Jens
The currently installed version is imp 6.1.6 from PEAR.</description> 
   <pubDate>Wed, 12 Feb 2014 23:13:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t82370</link> 
  </item> 
   
  <item> 
   <title>Here&#039;s the JSON from the first poll after mid-night. I see n</title> 
   <description>Here&#039;s the JSON from the first poll after mid-night. I see no other requests but the imp/poll and imp/toolbarUpdate at regular intervals (unless, of course, I&#039;d manually interact with IMP - which I didn&#039;t do during this test).

{&quot;response&quot;:true,&quot;tasks&quot;:{&quot;imp:viewport&quot;:{&quot;label&quot;:&quot;Posteingang&quot;,&quot;totalrows&quot;:38,&quot;rowlist_reset&quot;:true,&quot;rowlist&quot;:{&quot;39001&quot;:1,&quot;38989&quot;:2,&quot;38965&quot;:3,&quot;38963&quot;:4,&quot;38904&quot;:5,&quot;38903&quot;:6,&quot;38785&quot;:7,&quot;38722&quot;:8,&quot;38632&quot;:9,&quot;38571&quot;:10,&quot;38569&quot;:11,&quot;38560&quot;:12,&quot;38535&quot;:13,&quot;38297&quot;:14,&quot;38187&quot;:15,&quot;37993&quot;:16,&quot;37893&quot;:17,&quot;37878&quot;:18,&quot;37871&quot;:19,&quot;37826&quot;:20,&quot;37684&quot;:21,&quot;37412&quot;:22,&quot;37137&quot;:23,&quot;35362&quot;:24,&quot;35255&quot;:25,&quot;35109&quot;:26,&quot;34242&quot;:27,&quot;33979&quot;:28,&quot;33926&quot;:29,&quot;31722&quot;:30,&quot;30608&quot;:31,&quot;28412&quot;:32,&quot;23231&quot;:33,&quot;18485&quot;:34,&quot;11078&quot;:35,&quot;38537&quot;:36,&quot;9889&quot;:37,&quot;6262&quot;:38},&quot;data&quot;:[],&quot;cacheid&quot;:&quot;VTM5MDAyLFYxMjU2NTc2OTUwLEgzMjY5Ng==|1|1|D43&quot;,&quot;view&quot;:&quot;SU5CT1g&quot;},&quot;imp:poll&quot;:{&quot;SU5CT1g&quot;:0,&quot;SU5CT1gvQWJsYWdlL21haWxpbmctbGlzdHM&quot;:3,&quot;SU5CT1gvQWJsYWdlL05ERSBBRy9LdW5kZW4vT0ZEIE5pZWRlcnNhY2hzZW4vTlotUHJvYmxlbWU&quot;:0,&quot;SU5CT1gvQWJsYWdlL1ByaXZhdC9GaW5hbnplbi9EZXV0c2NoZSBCYW5r&quot;:0,&quot;SU5CT1gvanVuaw&quot;:0,&quot;dXNlci9hbW96ZHplbg&quot;:1},&quot;imp:quota&quot;:{&quot;m&quot;:&quot;Keine Begrenzung&quot;,&quot;p&quot;:0,&quot;l&quot;:&quot;&quot;}}}

Further imp/poll again have only the &quot;short version&quot; answer:

{&quot;response&quot;:true,&quot;tasks&quot;:{&quot;imp:poll&quot;:{&quot;SU5CT1g&quot;:0,&quot;SU5CT1gvQWJsYWdlL21haWxpbmctbGlzdHM&quot;:3,&quot;SU5CT1gvQWJsYWdlL05ERSBBRy9LdW5kZW4vT0ZEIE5pZWRlcnNhY2hzZW4vTlotUHJvYmxlbWU&quot;:0,&quot;SU5CT1gvQWJsYWdlL1ByaXZhdC9GaW5hbnplbi9EZXV0c2NoZSBCYW5r&quot;:0,&quot;SU5CT1gvanVuaw&quot;:0,&quot;dXNlci9hbW96ZHplbg&quot;:1},&quot;imp:quota&quot;:{&quot;m&quot;:&quot;Keine Begrenzung&quot;,&quot;p&quot;:0,&quot;l&quot;:&quot;&quot;}}}</description> 
   <pubDate>Wed, 12 Feb 2014 23:20:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t82371</link> 
  </item> 
   
  <item> 
   <title>The key to this might be the following observation:

The d</title> 
   <description>The key to this might be the following observation:

The data element of the viewport object is empty, in the first poll response after midnight.

A future poll, which reports a new message, does have the viewport object, but with a data element containing the new entry&#039;s field values:

{&quot;response&quot;:true,&quot;tasks&quot;:{&quot;imp:viewport&quot;:{&quot;label&quot;:&quot;Posteingang&quot;,&quot;totalrows&quot;:39,&quot;rowlist_reset&quot;:true,&quot;rowlist&quot;:{&quot;39002&quot;:1,&quot;39001&quot;:2,&quot;38989&quot;:3,&quot;38965&quot;:4,&quot;38963&quot;:5,&quot;38904&quot;:6,&quot;38903&quot;:7,&quot;38785&quot;:8,&quot;38722&quot;:9,&quot;38632&quot;:10,&quot;38571&quot;:11,&quot;38569&quot;:12,&quot;38560&quot;:13,&quot;38535&quot;:14,&quot;38297&quot;:15,&quot;38187&quot;:16,&quot;37993&quot;:17,&quot;37893&quot;:18,&quot;37878&quot;:19,&quot;37871&quot;:20,&quot;37826&quot;:21,&quot;37684&quot;:22,&quot;37412&quot;:23,&quot;37137&quot;:24,&quot;35362&quot;:25,&quot;35255&quot;:26,&quot;35109&quot;:27,&quot;34242&quot;:28,&quot;33979&quot;:29,&quot;33926&quot;:30,&quot;31722&quot;:31,&quot;30608&quot;:32,&quot;28412&quot;:33,&quot;23231&quot;:34,&quot;18485&quot;:35,&quot;11078&quot;:36,&quot;38537&quot;:37,&quot;9889&quot;:38,&quot;6262&quot;:39},&quot;data&quot;:{&quot;39002&quot;:{&quot;flag&quot;:[&quot;personal&quot;,&quot;unseen&quot;],&quot;size&quot;:&quot;5 KB&quot;,&quot;date&quot;:&quot;00:13:48&quot;,&quot;from&quot;:&quot;noreply@bugs.horde.org&quot;,&quot;subject&quot;:&quot;[Tickets #9773] Re: Date column not updated after midnight&quot;}},&quot;cacheid&quot;:&quot;VTM5MDAzLFYxMjU2NTc2OTUwLEgzMjY5Nw==|1|1|D43&quot;,&quot;view&quot;:&quot;SU5CT1g&quot;},&quot;imp:poll&quot;:{&quot;SU5CT1g&quot;:1,&quot;SU5CT1gvQWJsYWdlL21haWxpbmctbGlzdHM&quot;:3,&quot;SU5CT1gvQWJsYWdlL05ERSBBRy9LdW5kZW4vT0ZEIE5pZWRlcnNhY2hzZW4vTlotUHJvYmxlbWU&quot;:0,&quot;SU5CT1gvQWJsYWdlL1ByaXZhdC9GaW5hbnplbi9EZXV0c2NoZSBCYW5r&quot;:0,&quot;SU5CT1gvanVuaw&quot;:0,&quot;dXNlci9hbW96ZHplbg&quot;:1},&quot;imp:quota&quot;:{&quot;m&quot;:&quot;Keine Begrenzung&quot;,&quot;p&quot;:0,&quot;l&quot;:&quot;&quot;}}}

I tend to assume that the browser&#039;s message list is not replaced (with a version with updated time stamps) because no new entries&#039; data was sent with that &quot;after midnight&quot; poll response.</description> 
   <pubDate>Wed, 12 Feb 2014 23:34:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t82372</link> 
  </item> 
   
  <item> 
   <title>An issue might be that you are running 6.1 and I am running </title> 
   <description>An issue might be that you are running 6.1 and I am running 6.2.

Comparing the two, I wonder if this is causing problems (i.e. make this change on your file):

diff --git a/imp/lib/Ajax/Application/ListMessages.php b/imp/lib/Ajax/Application/ListMessages.php
index 00cd4aa..a084baa 100644
--- a/imp/lib/Ajax/Application/ListMessages.php
+++ b/imp/lib/Ajax/Application/ListMessages.php
@@ -141,7 +141,7 @@ class IMP_Ajax_Application_ListMessages
             $parsed = $imp_imap-&gt;parseCacheId($args[&#039;cacheid&#039;]);
             $uid_expire = true;

-            if (!$parsed[&#039;date&#039;] != date(&#039;z&#039;)) {
+            if ($parsed[&#039;date&#039;] == date(&#039;z&#039;)) {
                 try {
                     $imp_imap-&gt;sync($mbox, $parsed[&#039;token&#039;], array(
                         &#039;criteria&#039; =&gt; Horde_Imap_Client::SYNC_UIDVALIDITY
</description> 
   <pubDate>Fri, 14 Feb 2014 03:42:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t82373</link> 
  </item> 
   
  <item> 
   <title>&gt; An issue might be that you are running 6.1 and I am runnin</title> 
   <description>&gt; An issue might be that you are running 6.1 and I am running 6.2.
&gt;
&gt; Comparing the two, I wonder if this is causing problems (i.e. make 
&gt; this change on your file):
&gt; [...]

thank you for your suggestion - I have updated the file and will report back the results!

Regards,
Jens</description> 
   <pubDate>Fri, 14 Feb 2014 12:27:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t82377</link> 
  </item> 
   
  <item> 
   <title>&gt; An issue might be that you are running 6.1 and I am runnin</title> 
   <description>&gt; An issue might be that you are running 6.1 and I am running 6.2.
&gt;
&gt; Comparing the two, I wonder if this is causing problems (i.e. make 
&gt; this change on your file):

Confirmed :)

After changing that single line, the time/date display switches correctly with the first poll after midnight.

Regards,
Jens</description> 
   <pubDate>Sat, 15 Feb 2014 14:23:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9773#t82382</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
