sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject [1/2] sling-site git commit: use timezone in feed updated date
Date Mon, 02 Oct 2017 12:26:52 GMT
Repository: sling-site
Updated Branches:
  refs/heads/asf-site 47a72f1d1 -> 078f462ce
  refs/heads/master bf0b58e35 -> dfb1cbc16


use timezone in feed updated date


Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/dfb1cbc1
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/dfb1cbc1
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/dfb1cbc1

Branch: refs/heads/master
Commit: dfb1cbc16aeca5dba59e293feef7cfe2af05ed17
Parents: bf0b58e
Author: Justin Edelson <justin@apache.org>
Authored: Mon Oct 2 08:25:51 2017 -0400
Committer: Justin Edelson <justin@apache.org>
Committed: Mon Oct 2 08:25:51 2017 -0400

----------------------------------------------------------------------
 src/main/jbake/templates/feed.tpl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sling-site/blob/dfb1cbc1/src/main/jbake/templates/feed.tpl
----------------------------------------------------------------------
diff --git a/src/main/jbake/templates/feed.tpl b/src/main/jbake/templates/feed.tpl
index 866cc73..ff0a4d3 100644
--- a/src/main/jbake/templates/feed.tpl
+++ b/src/main/jbake/templates/feed.tpl
@@ -9,7 +9,7 @@ feed(xmlns:"http://www.w3.org/2005/Atom"){
     newLine()
     subtitle("${config.blog_subtitle}")
     newLine()
-    updated("${published_date.format('yyyy-MM-dd\'T\'HH:mm:ss\'Z\'')}")
+    updated("${published_date.format('yyyy-MM-dd\'T\'HH:mm:ss\'Z\'Z')}")
     newLine()
     id("tag:${config.feed_id},${published_date.format('yyyy:MM')}")
     newLine()
@@ -23,7 +23,7 @@ feed(xmlns:"http://www.w3.org/2005/Atom"){
           newLine()
           link(href:"${config.site_host}${config.site_contextPath}${post.uri}")
           newLine()
-          updated("${post.date.format('yyyy-MM-dd\'T\'HH:mm:ss\'Z\'')}")
+          updated("${post.date.format('yyyy-MM-dd\'T\'HH:mm:ss\'Z\'Z')}")
           newLine()
           id("${config.site_host}${config.site_contextPath}${post.uri}")
           newLine()


Mime
View raw message