From e7f4ad7e16d7048a6801fe578d5f48bf90c297a5 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 4 Apr 2014 21:16:54 +0200 Subject: [PATCH] xsl: hack for publishing at the right time will publish an hour earlier in winter --- xsl/atom.xsl | 2 +- xsl/calendar-summary.xsl | 2 +- xsl/portal2items.xsl | 2 +- xsl/rss.xsl | 2 +- xsl/xhtml5.xsl | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xsl/atom.xsl b/xsl/atom.xsl index dc06cc92a..49d8da83c 100644 --- a/xsl/atom.xsl +++ b/xsl/atom.xsl @@ -42,7 +42,7 @@ + starts-with(date:difference(date:date-time(), concat(document(.)/item/@date, '+02:00')), '-')"> diff --git a/xsl/calendar-summary.xsl b/xsl/calendar-summary.xsl index 1dfd83d58..4b8561180 100644 --- a/xsl/calendar-summary.xsl +++ b/xsl/calendar-summary.xsl @@ -19,7 +19,7 @@ - + diff --git a/xsl/portal2items.xsl b/xsl/portal2items.xsl index 0eba34479..a1e09a59a 100644 --- a/xsl/portal2items.xsl +++ b/xsl/portal2items.xsl @@ -19,7 +19,7 @@ - + + starts-with(date:difference(date:date-time(), concat(document(.)/item/@date, '+02:00')), '-')"> diff --git a/xsl/xhtml5.xsl b/xsl/xhtml5.xsl index 8f7b35c2a..c8536ddc9 100644 --- a/xsl/xhtml5.xsl +++ b/xsl/xhtml5.xsl @@ -140,7 +140,7 @@ starts-with( date:difference( date:date-time(), - $news/item/@date + concat($news/item/@date, '+02:00') ), '-' )"> @@ -268,7 +268,7 @@ starts-with( date:difference( date:date-time(), - $news/item/@date + concat($news/item/@date, '+02:00') ), '-' )">