Mercurial > p > roundup > code
view templates/classic/html/msg.index.html @ 1885:deba54ed724f
Date arithmetic fixes.
Date +/- Interval passes all tests again, after fixing a couple of the
tests to actually reflect the calendar used on my planet rather than
where-ever Richard was when he wrote the test <wink>
The basic problem was that when going backwards, the code was adding
the days of the current month, rather than the previous month.
There's still a bug in the testDateSubtract that I'll fix next.
Bugfix candidate (probably)
| author | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
|---|---|
| date | Mon, 03 Nov 2003 10:23:06 +0000 |
| parents | 21312a7564fd |
| children | 3a4abf6d48c2 |
line wrap: on
line source
<tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title"> <span tal:replace="config/TRACKER_NAME" />: List of messages </title> <td class="page-header-top" metal:fill-slot="body_title"> <h2>Message listing</h2> </td> <td class="content" metal:fill-slot="content"> <table class="messages" tal:condition="request/filter"> <tr><th colspan=2 class="header">Messages</th></tr> <tal:block tal:repeat="msg context/list"> <tr> <th tal:content="string:Author: ${msg/author}">author</th> <th tal:content="string:Date: ${msg/date}">date</th> </tr> <tr> <td colspan="2"><pre tal:content="msg/content">content</pre></td> </tr> </tal:block> </table> </td> </tal:block>
