forked from github/pelican
Add timezone to datetime objects. Refs #962.
Based on https://github.com/getpelican/pelican/pull/977, but it adds timezone information before formatting. Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
parent
8d14872700
commit
2c50ccb764
92 changed files with 259 additions and 247 deletions
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-04-20T00:00:00">
|
||||
<abbr class="published" title="2011-04-20T00:00:00+02:00">
|
||||
Published: Wed 20 April 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -112,4 +112,4 @@
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -111,4 +111,4 @@
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -111,4 +111,4 @@
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -111,4 +111,4 @@
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<article>
|
||||
<h1 class="entry-title"><a href="../filename_metadata-example.html">FILENAME_METADATA example</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-11-30T00:00:00">
|
||||
<abbr class="published" title="2012-11-30T00:00:00+01:00">
|
||||
Published: Fri 30 November 2012
|
||||
</abbr>
|
||||
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
<abbr class="published" title="2012-02-29T00:00:00+01:00">
|
||||
Published: Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-04-20T00:00:00">
|
||||
<abbr class="published" title="2011-04-20T00:00:00+02:00">
|
||||
Published: Wed 20 April 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -107,7 +107,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -170,4 +170,4 @@
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -85,11 +85,11 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
<abbr class="published" title="2010-12-02T10:14:00+01:00">
|
||||
Published: Thu 02 December 2010
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||
<abbr class="modified" title="2013-11-17T23:29:00+01:00">
|
||||
Updated: Sun 17 November 2013
|
||||
</abbr>
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ as well as <strong>inline markup</strong>.</p>
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
<abbr class="published" title="2010-10-20T10:14:00+02:00">
|
||||
Published: Wed 20 October 2010
|
||||
</abbr>
|
||||
|
||||
|
|
@ -184,4 +184,4 @@ YEAH !</p>
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-15T20:30:00">
|
||||
<abbr class="published" title="2010-10-15T20:30:00+02:00">
|
||||
Published: Fri 15 October 2010
|
||||
</abbr>
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ pelican.conf, it ...</p></div>
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-03-14T00:00:00">
|
||||
<abbr class="published" title="2010-03-14T00:00:00+01:00">
|
||||
Published: Sun 14 March 2010
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<article>
|
||||
<h1 class="entry-title"><a href="../oh-yeah.html">Oh yeah !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
<abbr class="published" title="2010-10-20T10:14:00+02:00">
|
||||
Published: Wed 20 October 2010
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<article>
|
||||
<h1 class="entry-title"><a href="../a-markdown-powered-article.html">A markdown powered article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-04-20T00:00:00">
|
||||
<abbr class="published" title="2011-04-20T00:00:00+02:00">
|
||||
Published: Wed 20 April 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<article>
|
||||
<h1 class="entry-title"><a href="../filename_metadata-example.html">FILENAME_METADATA example</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-11-30T00:00:00">
|
||||
<abbr class="published" title="2012-11-30T00:00:00+01:00">
|
||||
Published: Fri 30 November 2012
|
||||
</abbr>
|
||||
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
<abbr class="published" title="2012-02-29T00:00:00+01:00">
|
||||
Published: Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-15T20:30:00">
|
||||
<abbr class="published" title="2010-10-15T20:30:00+02:00">
|
||||
Published: Fri 15 October 2010
|
||||
</abbr>
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ pelican.conf, it ...</p></div>
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-03-14T00:00:00">
|
||||
<abbr class="published" title="2010-03-14T00:00:00+01:00">
|
||||
Published: Sun 14 March 2010
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,11 +33,11 @@
|
|||
<article>
|
||||
<h1 class="entry-title"><a href="../this-is-a-super-article.html">This is a super article !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
<abbr class="published" title="2010-12-02T10:14:00+01:00">
|
||||
Published: Thu 02 December 2010
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||
<abbr class="modified" title="2013-11-17T23:29:00+01:00">
|
||||
Updated: Sun 17 November 2013
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-03-02T14:01:01">
|
||||
<abbr class="published" title="2012-03-02T14:01:01+01:00">
|
||||
Published: Fri 02 March 2012
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-11-30T00:00:00">
|
||||
<abbr class="published" title="2012-11-30T00:00:00+01:00">
|
||||
Published: Fri 30 November 2012
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<article>
|
||||
<h1 class="entry-title"><a href="./filename_metadata-example.html">FILENAME_METADATA example</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-11-30T00:00:00">
|
||||
<abbr class="published" title="2012-11-30T00:00:00+01:00">
|
||||
Published: Fri 30 November 2012
|
||||
</abbr>
|
||||
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
<abbr class="published" title="2012-02-29T00:00:00+01:00">
|
||||
Published: Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-04-20T00:00:00">
|
||||
<abbr class="published" title="2011-04-20T00:00:00+02:00">
|
||||
Published: Wed 20 April 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -107,7 +107,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
<abbr class="published" title="2011-02-17T00:00:00+01:00">
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
|
@ -85,11 +85,11 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
<abbr class="published" title="2010-12-02T10:14:00+01:00">
|
||||
Published: Thu 02 December 2010
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||
<abbr class="modified" title="2013-11-17T23:29:00+01:00">
|
||||
Updated: Sun 17 November 2013
|
||||
</abbr>
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ as well as <strong>inline markup</strong>.</p>
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
<abbr class="published" title="2010-10-20T10:14:00+02:00">
|
||||
Published: Wed 20 October 2010
|
||||
</abbr>
|
||||
|
||||
|
|
@ -184,4 +184,4 @@ YEAH !</p>
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-15T20:30:00">
|
||||
<abbr class="published" title="2010-10-15T20:30:00+02:00">
|
||||
Published: Fri 15 October 2010
|
||||
</abbr>
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ pelican.conf, it ...</p></div>
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-03-14T00:00:00">
|
||||
<abbr class="published" title="2010-03-14T00:00:00+01:00">
|
||||
Published: Sun 14 March 2010
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-03-02T14:01:01">
|
||||
<abbr class="published" title="2012-03-02T14:01:01+01:00">
|
||||
Published: Fri 02 March 2012
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
<abbr class="published" title="2010-10-20T10:14:00+02:00">
|
||||
Published: Wed 20 October 2010
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
<abbr class="published" title="2012-02-29T00:00:00+01:00">
|
||||
Published: Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
<abbr class="published" title="2012-02-29T00:00:00+01:00">
|
||||
Published: Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<article>
|
||||
<h1 class="entry-title"><a href="../second-article.html">Second article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
<abbr class="published" title="2012-02-29T00:00:00+01:00">
|
||||
Published: Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
|
@ -60,11 +60,11 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
<abbr class="published" title="2010-12-02T10:14:00+01:00">
|
||||
Published: Thu 02 December 2010
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||
<abbr class="modified" title="2013-11-17T23:29:00+01:00">
|
||||
Updated: Sun 17 November 2013
|
||||
</abbr>
|
||||
|
||||
|
|
@ -88,7 +88,7 @@ as well as <strong>inline markup</strong>.</p>
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
<abbr class="published" title="2010-10-20T10:14:00+02:00">
|
||||
Published: Wed 20 October 2010
|
||||
</abbr>
|
||||
|
||||
|
|
@ -157,4 +157,4 @@ YEAH !</p>
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-03-14T00:00:00">
|
||||
<abbr class="published" title="2010-03-14T00:00:00+01:00">
|
||||
Published: Sun 14 March 2010
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<article>
|
||||
<h1 class="entry-title"><a href="../second-article.html">Second article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
<abbr class="published" title="2012-02-29T00:00:00+01:00">
|
||||
Published: Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
|
@ -60,11 +60,11 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
<abbr class="published" title="2010-12-02T10:14:00+01:00">
|
||||
Published: Thu 02 December 2010
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||
<abbr class="modified" title="2013-11-17T23:29:00+01:00">
|
||||
Updated: Sun 17 November 2013
|
||||
</abbr>
|
||||
|
||||
|
|
@ -127,4 +127,4 @@ as well as <strong>inline markup</strong>.</p>
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -33,11 +33,11 @@
|
|||
<article>
|
||||
<h1 class="entry-title"><a href="../this-is-a-super-article.html">This is a super article !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
<abbr class="published" title="2010-12-02T10:14:00+01:00">
|
||||
Published: Thu 02 December 2010
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||
<abbr class="modified" title="2013-11-17T23:29:00+01:00">
|
||||
Updated: Sun 17 November 2013
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<article>
|
||||
<h1 class="entry-title"><a href="../oh-yeah.html">Oh yeah !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
<abbr class="published" title="2010-10-20T10:14:00+02:00">
|
||||
Published: Wed 20 October 2010
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,11 +38,11 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
<abbr class="published" title="2010-12-02T10:14:00+01:00">
|
||||
Published: Thu 02 December 2010
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||
<abbr class="modified" title="2013-11-17T23:29:00+01:00">
|
||||
Updated: Sun 17 November 2013
|
||||
</abbr>
|
||||
|
||||
|
|
@ -126,4 +126,4 @@
|
|||
}());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-15T20:30:00">
|
||||
<abbr class="published" title="2010-10-15T20:30:00+02:00">
|
||||
Published: Fri 15 October 2010
|
||||
</abbr>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue