1
0
Fork 0
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:
OGINO Masanori 2014-06-10 09:47:14 +09:00
commit 2c50ccb764
92 changed files with 259 additions and 247 deletions

View file

@ -33,7 +33,7 @@
<article>
<h1 class="entry-title"><a href="../posts/2012/novembre/30/filename_metadata-example/">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: 30 novembre 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: 29 février 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: 20 avril 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: 17 février 2011
</abbr>

View file

@ -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: 17 février 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: 17 février 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: 02 décembre 2010
</abbr>
<br />
<abbr class="modified" title="2013-11-17T23:29:00">
<abbr class="modified" title="2013-11-17T23:29:00+01:00">
Updated: 17 novembre 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: 20 octobre 2010
</abbr>
@ -184,4 +184,4 @@ YEAH !</p>
}());
</script>
</body>
</html>
</html>

View file

@ -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: 15 octobre 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: 14 mars 2010
</abbr>