You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/09/04 08:12:54 UTC

[camel-website] branch master updated: CAMEL-13937: Wrongly formated date in the news ...

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new b4cf98b  CAMEL-13937: Wrongly formated date in the news ...
b4cf98b is described below

commit b4cf98b785669b8262bbed72cb064b549e653586
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Wed Sep 4 10:12:50 2019 +0200

    CAMEL-13937: Wrongly formated date in the news ...
    
    ...section
---
 layouts/news-entry/single.html | 2 +-
 layouts/news/list.html         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/layouts/news-entry/single.html b/layouts/news-entry/single.html
index 1a088e8..7c6dde1 100644
--- a/layouts/news-entry/single.html
+++ b/layouts/news-entry/single.html
@@ -7,7 +7,7 @@
             <div class="container pb-5">
               <h4>Apache Camel News: {{ .Params.title }}</h4>
               <h5>Date</h5>
-              {{ dateFormat "Monday, Jan 1, 2006" .Params.date }}
+              {{ dateFormat "Monday, Jan 2, 2006" .Params.date }}
               <h5>Author</h5>
               {{ .Params.author }}
               <h5>Description</h5>
diff --git a/layouts/news/list.html b/layouts/news/list.html
index 8987527..389399f 100644
--- a/layouts/news/list.html
+++ b/layouts/news/list.html
@@ -24,7 +24,7 @@
                   </tr>
                   {{ range .Pages }}
                   <tr>
-                    <td><a href="{{ .RelPermalink }}">{{ dateFormat "Monday, Jan 1, 2006" .Params.date }}</a></td>
+                    <td><a href="{{ .RelPermalink }}">{{ dateFormat "Monday, Jan 2, 2006" .Params.date }}</a></td>
                     <td>{{ .Params.title }}</td>
                     <td>{{ .Params.author }}</td>
                     <td>{{ .Params.preview }}</td>