changeset 3518:95c1c3e057cf

mod_pubsub_github: Fix publish date
author Kim Alvefur <zash@zash.se>
date Sun, 31 Mar 2019 18:14:59 +0200
parents ea1edd7cfb01
children ac623080324a
files mod_pubsub_github/mod_pubsub_github.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_pubsub_github/mod_pubsub_github.lua	Sun Mar 31 18:10:12 2019 +0200
+++ b/mod_pubsub_github/mod_pubsub_github.lua	Sun Mar 31 18:14:59 2019 +0200
@@ -51,7 +51,7 @@
 				:tag("id"):text(commit.id):up()
 				:tag("title"):text(commit.message):up()
 				:tag("link", { rel = "alternate", href = commit.url }):up()
-				:tag("published"):text(commit.timestamp):up()
+				:tag("published"):text(commit.author.date):up()
 				:tag("author")
 					:tag("name"):text(commit.author.name):up()
 					:tag("email"):text(commit.author.email):up()