date formatting
authormtopper <mtopper>
Thu, 4 Aug 2005 16:51:05 +0000 (16:51 +0000)
committermtopper <mtopper>
Thu, 4 Aug 2005 16:51:05 +0000 (16:51 +0000)
etc/producer/newswireinclude.template

index 394b036..151a816 100755 (executable)
@@ -21,8 +21,7 @@
                         <a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.html">${n.title}</a>
                      </p>
                      <p class="datestamp">
-                       
-                        ${n.date.formatted["MMM ddth, HH:mm"]}
+                        ${n.creationdate.formatted["MMM dd HH:mma"]}
                         <if (n.commentcount != 0) ><span class="comments">${n.commentcount} Comments</span></if>
                      </p>
                   </li>
@@ -35,8 +34,8 @@
 
 
                      <p class="datestamp">
-                        ${n.date.formatted.MMM} ${n.date.formatted.dd}th,
-                        <span class="comments">${n.commentcount} Comments</span>
+                        ${n.creationdate.formatted["MMM dd HH:mma"]}
+                        <if (n.commentcount != 0) ><span class="comments">${n.commentcount} Comments</span></if>
                      </p>
                   </li>
                </if>