diff --git a/content/static/style/default.css b/content/static/style/default.css
index 6738d78c0..b25824e48 100644
--- a/content/static/style/default.css
+++ b/content/static/style/default.css
@@ -939,3 +939,7 @@ h3 + div {
.cookiebar h2 {
font-size: 100%;
}
+.calweek {
+ float: right;
+ color: #f99;
+}
diff --git a/xsl/calendar.xsl b/xsl/calendar.xsl
index badc7c452..7849e5967 100644
--- a/xsl/calendar.xsl
+++ b/xsl/calendar.xsl
@@ -6,6 +6,7 @@
exclude-result-prefixes="xsl date">
+
@@ -90,10 +91,16 @@
+ id="calendar-{date:year($date)}-{date:month-in-year($date)}-{date:day-in-month($date)}">
+
+
+
+
+
+
+
diff --git a/xsl/date.week-in-year.function.xsl b/xsl/date.week-in-year.function.xsl
new file mode 100644
index 000000000..ea94540d7
--- /dev/null
+++ b/xsl/date.week-in-year.function.xsl
@@ -0,0 +1,103 @@
+
+
+
+
+
+ 31
+ 28
+ 31
+ 30
+ 31
+ 30
+ 31
+ 31
+ 30
+ 31
+ 30
+ 31
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Z
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 7
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+