# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1314178142 -7200
# Node ID f42fe4229f8aa2eb12564afe4cafd9dbc4330c2c
# Parent  4e0d36941ba173b69e7b91c3c7789ec5a9a2b54f
mod_pubsub_feed: Fix timestamp on Windows, which has no %T

diff -r 4e0d36941ba1 -r f42fe4229f8a mod_pubsub_feed/mod_pubsub_feed.lua
--- a/mod_pubsub_feed/mod_pubsub_feed.lua	Wed Aug 10 05:30:08 2011 +0500
+++ b/mod_pubsub_feed/mod_pubsub_feed.lua	Wed Aug 24 11:29:02 2011 +0200
@@ -137,7 +137,8 @@
 function fetch(item, callback) -- HTTP Pull
 	local headers = { };
 	if item.data and item.last_update then
-		headers["If-Modified-Since"] = date("!%a, %d %b %Y %T %Z", item.last_update);
+		headers["If-Modified-Since"] = date("!%a, %d %b %Y %H:%M:%S %Z", item.last_update);
+		--COMPAT We could have saved 6 bytes here, but Microsoft apparently hates %T, so you got this gigantic comment instead.
 	end
 	http.request(item.url, { headers = headers }, function(data, code, req) 
 		if code == 200 then