diff --git a/pelican/contents.py b/pelican/contents.py
index 96794026..6fb55782 100644
--- a/pelican/contents.py
+++ b/pelican/contents.py
@@ -113,8 +113,6 @@ class Content(object):
if hasattr(self, 'date'):
self.locale_date = strftime(self.date, self.date_format)
- if not hasattr(self, 'modified'):
- self.modified = self.date
if hasattr(self, 'modified'):
self.locale_modified = strftime(self.modified, self.date_format)
diff --git a/pelican/readers.py b/pelican/readers.py
index c286e801..b331d263 100644
--- a/pelican/readers.py
+++ b/pelican/readers.py
@@ -522,7 +522,6 @@ def default_metadata(settings=None, process=None):
metadata['category'] = value
if 'DEFAULT_DATE' in settings and settings['DEFAULT_DATE'] != 'fs':
metadata['date'] = datetime.datetime(*settings['DEFAULT_DATE'])
- metadata['modified'] = metadata['date']
return metadata
@@ -532,7 +531,6 @@ def path_metadata(full_path, source_path, settings=None):
if settings.get('DEFAULT_DATE', None) == 'fs':
metadata['date'] = datetime.datetime.fromtimestamp(
os.stat(full_path).st_ctime)
- metadata['modified'] = metadata['date']
metadata.update(settings.get('EXTRA_PATH_METADATA', {}).get(
source_path, {}))
return metadata
diff --git a/pelican/tests/output/basic/author/alexis-metaireau.html b/pelican/tests/output/basic/author/alexis-metaireau.html
index 2d4ba1cc..d1dc6da6 100644
--- a/pelican/tests/output/basic/author/alexis-metaireau.html
+++ b/pelican/tests/output/basic/author/alexis-metaireau.html
@@ -32,6 +32,10 @@
Published: Thu 02 December 2010
+
+
+ Updated: Sun 17 November 2013
+
By Alexis Métaireau
diff --git a/pelican/tests/output/basic/category/yeah.html b/pelican/tests/output/basic/category/yeah.html
index f8b2d534..51fada93 100644
--- a/pelican/tests/output/basic/category/yeah.html
+++ b/pelican/tests/output/basic/category/yeah.html
@@ -32,6 +32,10 @@
Published: Thu 02 December 2010
+
+
+ Updated: Sun 17 November 2013
+
By Alexis Métaireau
diff --git a/pelican/tests/output/basic/feeds/all-en.atom.xml b/pelican/tests/output/basic/feeds/all-en.atom.xml
index da537344..128e1b3b 100644
--- a/pelican/tests/output/basic/feeds/all-en.atom.xml
+++ b/pelican/tests/output/basic/feeds/all-en.atom.xml
@@ -1,12 +1,12 @@
-A Pelican Blog/2012-11-30T00:00:00ZFILENAME_METADATA example2012-11-30T00:00:00Ztag:,2012-11-30:filename_metadata-example.html<p>Some cool stuff!</p>
+A Pelican Blog/2013-11-17T23:29:00ZFILENAME_METADATA example2012-11-30T00:00:00Ztag:,2012-11-30:filename_metadata-example.html<p>Some cool stuff!</p>
Second article2012-02-29T00:00:00Ztag:,2012-02-29:second-article.html<p>This is some article, in english</p>
A markdown powered article2011-04-20T00:00:00Ztag:,2011-04-20:a-markdown-powered-article.html<p>You're mutually oblivious.</p>
<p><a href="/unbelievable.html">a root-relative link to unbelievable</a>
<a href="/unbelievable.html">a file-relative link to unbelievable</a></p>Article 12011-02-17T00:00:00Ztag:,2011-02-17:article-1.html<p>Article 1</p>
Article 22011-02-17T00:00:00Ztag:,2011-02-17:article-2.html<p>Article 2</p>
Article 32011-02-17T00:00:00Ztag:,2011-02-17:article-3.html<p>Article 3</p>
-This is a super article !2010-12-02T10:14:00ZAlexis Métaireautag:,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
+This is a super article !2013-11-17T23:29:00ZAlexis Métaireautag:,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
<div class="section" id="this-is-a-simple-title">
<h2>This is a simple title</h2>
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
diff --git a/pelican/tests/output/basic/feeds/all.atom.xml b/pelican/tests/output/basic/feeds/all.atom.xml
index d837c895..3cf2d197 100644
--- a/pelican/tests/output/basic/feeds/all.atom.xml
+++ b/pelican/tests/output/basic/feeds/all.atom.xml
@@ -1,5 +1,5 @@
-A Pelican Blog/2012-11-30T00:00:00ZFILENAME_METADATA example2012-11-30T00:00:00Ztag:,2012-11-30:filename_metadata-example.html<p>Some cool stuff!</p>
+A Pelican Blog/2013-11-17T23:29:00ZFILENAME_METADATA example2012-11-30T00:00:00Ztag:,2012-11-30:filename_metadata-example.html<p>Some cool stuff!</p>
Second article2012-02-29T00:00:00Ztag:,2012-02-29:second-article.html<p>This is some article, in english</p>
Deuxième article2012-02-29T00:00:00Ztag:,2012-02-29:second-article-fr.html<p>Ceci est un article, en français.</p>
A markdown powered article2011-04-20T00:00:00Ztag:,2011-04-20:a-markdown-powered-article.html<p>You're mutually oblivious.</p>
@@ -7,7 +7,7 @@
<a href="/unbelievable.html">a file-relative link to unbelievable</a></p>Article 12011-02-17T00:00:00Ztag:,2011-02-17:article-1.html<p>Article 1</p>
Article 22011-02-17T00:00:00Ztag:,2011-02-17:article-2.html<p>Article 2</p>
Article 32011-02-17T00:00:00Ztag:,2011-02-17:article-3.html<p>Article 3</p>
-This is a super article !2010-12-02T10:14:00ZAlexis Métaireautag:,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
+This is a super article !2013-11-17T23:29:00ZAlexis Métaireautag:,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
<div class="section" id="this-is-a-simple-title">
<h2>This is a simple title</h2>
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
diff --git a/pelican/tests/output/basic/feeds/yeah.atom.xml b/pelican/tests/output/basic/feeds/yeah.atom.xml
index 78d1a2d0..2c42ec39 100644
--- a/pelican/tests/output/basic/feeds/yeah.atom.xml
+++ b/pelican/tests/output/basic/feeds/yeah.atom.xml
@@ -1,5 +1,5 @@
-A Pelican Blog/2010-12-02T10:14:00ZThis is a super article !2010-12-02T10:14:00ZAlexis Métaireautag:,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
+A Pelican Blog/2013-11-17T23:29:00ZThis is a super article !2013-11-17T23:29:00ZAlexis Métaireautag:,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
<div class="section" id="this-is-a-simple-title">
<h2>This is a simple title</h2>
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
diff --git a/pelican/tests/output/basic/index.html b/pelican/tests/output/basic/index.html
index b0bda7c5..ffc476f4 100644
--- a/pelican/tests/output/basic/index.html
+++ b/pelican/tests/output/basic/index.html
@@ -157,6 +157,10 @@
Published: Thu 02 December 2010
+
+
+ Updated: Sun 17 November 2013
+
By Alexis Métaireau
diff --git a/pelican/tests/output/basic/tag/bar.html b/pelican/tests/output/basic/tag/bar.html
index 96d0833b..d983f3dc 100644
--- a/pelican/tests/output/basic/tag/bar.html
+++ b/pelican/tests/output/basic/tag/bar.html
@@ -56,6 +56,10 @@
Published: Thu 02 December 2010
+
+
+ Updated: Sun 17 November 2013
+
By Alexis Métaireau
diff --git a/pelican/tests/output/basic/tag/foo.html b/pelican/tests/output/basic/tag/foo.html
index 828b215f..4bebd99d 100644
--- a/pelican/tests/output/basic/tag/foo.html
+++ b/pelican/tests/output/basic/tag/foo.html
@@ -56,6 +56,10 @@
Published: Thu 02 December 2010
+
+
+ Updated: Sun 17 November 2013
+
By Alexis Métaireau
diff --git a/pelican/tests/output/basic/tag/foobar.html b/pelican/tests/output/basic/tag/foobar.html
index 75fb0c53..66aa05e8 100644
--- a/pelican/tests/output/basic/tag/foobar.html
+++ b/pelican/tests/output/basic/tag/foobar.html
@@ -32,6 +32,10 @@
Published: Thu 02 December 2010
+
+
+ Updated: Sun 17 November 2013
+
By Alexis Métaireau
diff --git a/pelican/tests/output/basic/this-is-a-super-article.html b/pelican/tests/output/basic/this-is-a-super-article.html
index 9ae56a06..deeb27a1 100644
--- a/pelican/tests/output/basic/this-is-a-super-article.html
+++ b/pelican/tests/output/basic/this-is-a-super-article.html
@@ -37,6 +37,10 @@
Published: Thu 02 December 2010
+
+
+ Updated: Sun 17 November 2013
+
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/a-markdown-powered-article.html b/pelican/tests/output/custom/a-markdown-powered-article.html
index f642df3b..5b2aca1c 100644
--- a/pelican/tests/output/custom/a-markdown-powered-article.html
+++ b/pelican/tests/output/custom/a-markdown-powered-article.html
@@ -41,10 +41,6 @@
Published: Wed 20 April 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/article-1.html b/pelican/tests/output/custom/article-1.html
index ba0df8f4..4319026f 100644
--- a/pelican/tests/output/custom/article-1.html
+++ b/pelican/tests/output/custom/article-1.html
@@ -41,10 +41,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/article-2.html b/pelican/tests/output/custom/article-2.html
index 8d09a783..9b00fde2 100644
--- a/pelican/tests/output/custom/article-2.html
+++ b/pelican/tests/output/custom/article-2.html
@@ -41,10 +41,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/article-3.html b/pelican/tests/output/custom/article-3.html
index 8b70e2f9..4bbd0819 100644
--- a/pelican/tests/output/custom/article-3.html
+++ b/pelican/tests/output/custom/article-3.html
@@ -41,10 +41,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/author/alexis-metaireau.html b/pelican/tests/output/custom/author/alexis-metaireau.html
index b0edc0aa..cb975d3a 100644
--- a/pelican/tests/output/custom/author/alexis-metaireau.html
+++ b/pelican/tests/output/custom/author/alexis-metaireau.html
@@ -36,10 +36,6 @@
Published: Fri 30 November 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -65,10 +61,6 @@
Published: Wed 29 February 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -94,10 +86,6 @@
Published: Wed 20 April 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -122,10 +110,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/author/alexis-metaireau2.html b/pelican/tests/output/custom/author/alexis-metaireau2.html
index 9ad70eae..8d67a25c 100644
--- a/pelican/tests/output/custom/author/alexis-metaireau2.html
+++ b/pelican/tests/output/custom/author/alexis-metaireau2.html
@@ -42,10 +42,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -69,10 +65,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -97,8 +89,8 @@
Published: Thu 02 December 2010
-
- Updated: Fri 02 March 2012
+
+ Updated: Sun 17 November 2013
@@ -124,10 +116,6 @@ as well as inline markup.
Published: Wed 20 October 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/author/alexis-metaireau3.html b/pelican/tests/output/custom/author/alexis-metaireau3.html
index ef581c31..8df03fc6 100644
--- a/pelican/tests/output/custom/author/alexis-metaireau3.html
+++ b/pelican/tests/output/custom/author/alexis-metaireau3.html
@@ -42,10 +42,6 @@
Published: Fri 15 October 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -79,10 +75,6 @@ pelican.conf, it ...
Published: Sun 14 March 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/category/bar.html b/pelican/tests/output/custom/category/bar.html
index 8b3a0308..113b8841 100644
--- a/pelican/tests/output/custom/category/bar.html
+++ b/pelican/tests/output/custom/category/bar.html
@@ -36,10 +36,6 @@
Published: Wed 20 October 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/category/cat1.html b/pelican/tests/output/custom/category/cat1.html
index 04a7fa6a..c6bcafca 100644
--- a/pelican/tests/output/custom/category/cat1.html
+++ b/pelican/tests/output/custom/category/cat1.html
@@ -36,10 +36,6 @@
Published: Wed 20 April 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -66,10 +62,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -93,10 +85,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -120,10 +108,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/category/misc.html b/pelican/tests/output/custom/category/misc.html
index a1eff995..ccb7d949 100644
--- a/pelican/tests/output/custom/category/misc.html
+++ b/pelican/tests/output/custom/category/misc.html
@@ -36,10 +36,6 @@
Published: Fri 30 November 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -65,10 +61,6 @@
Published: Wed 29 February 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -94,10 +86,6 @@
Published: Fri 15 October 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -131,10 +119,6 @@ pelican.conf, it ...
Published: Sun 14 March 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/category/yeah.html b/pelican/tests/output/custom/category/yeah.html
index eb3f184b..c8e066c8 100644
--- a/pelican/tests/output/custom/category/yeah.html
+++ b/pelican/tests/output/custom/category/yeah.html
@@ -37,8 +37,8 @@
Published: Thu 02 December 2010
-
- Updated: Fri 02 March 2012
+
+ Updated: Sun 17 November 2013
diff --git a/pelican/tests/output/custom/feeds/all-en.atom.xml b/pelican/tests/output/custom/feeds/all-en.atom.xml
index e9b7d3d3..3574ab42 100644
--- a/pelican/tests/output/custom/feeds/all-en.atom.xml
+++ b/pelican/tests/output/custom/feeds/all-en.atom.xml
@@ -1,12 +1,12 @@
-Alexis' loghttp://blog.notmyidea.org/2012-03-02T14:01:01+01:00FILENAME_METADATA example2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2012-11-30:filename_metadata-example.html<p>Some cool stuff!</p>
-Second article2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2012-02-29:second-article.html<p>This is some article, in english</p>
-A markdown powered article2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-04-20:a-markdown-powered-article.html<p>You're mutually oblivious.</p>
+Alexis' loghttp://blog.notmyidea.org/2013-11-17T23:29:00+01:00FILENAME_METADATA example2012-11-30T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2012-11-30:filename_metadata-example.html<p>Some cool stuff!</p>
+Second article2012-02-29T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2012-02-29:second-article.html<p>This is some article, in english</p>
+A markdown powered article2011-04-20T00:00:00+02:00Alexis Métaireautag:blog.notmyidea.org,2011-04-20:a-markdown-powered-article.html<p>You're mutually oblivious.</p>
<p><a href="http://blog.notmyidea.org/unbelievable.html">a root-relative link to unbelievable</a>
-<a href="http://blog.notmyidea.org/unbelievable.html">a file-relative link to unbelievable</a></p>Article 12012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-1.html<p>Article 1</p>
-Article 22012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-2.html<p>Article 2</p>
-Article 32012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-3.html<p>Article 3</p>
-This is a super article !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
+<a href="http://blog.notmyidea.org/unbelievable.html">a file-relative link to unbelievable</a></p>Article 12011-02-17T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-1.html<p>Article 1</p>
+Article 22011-02-17T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-2.html<p>Article 2</p>
+Article 32011-02-17T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-3.html<p>Article 3</p>
+This is a super article !2013-11-17T23:29:00+01:00Alexis Métaireautag:blog.notmyidea.org,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
<div class="section" id="this-is-a-simple-title">
<h2>This is a simple title</h2>
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
@@ -18,13 +18,13 @@
</pre>
<p>→ And now try with some utf8 hell: ééé</p>
</div>
-Oh yeah !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-10-20:oh-yeah.html<div class="section" id="why-not">
+Oh yeah !2010-10-20T10:14:00+02:00Alexis Métaireautag:blog.notmyidea.org,2010-10-20:oh-yeah.html<div class="section" id="why-not">
<h2>Why not ?</h2>
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
YEAH !</p>
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
</div>
-Unbelievable !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-10-15:unbelievable.html<p>Or completely awesome. Depends the needs.</p>
+Unbelievable !2010-10-15T20:30:00+02:00Alexis Métaireautag:blog.notmyidea.org,2010-10-15:unbelievable.html<p>Or completely awesome. Depends the needs.</p>
<p><a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a root-relative link to markdown-article</a>
<a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a file-relative link to markdown-article</a></p>
<div class="section" id="testing-sourcecode-directive">
@@ -57,5 +57,5 @@ pelican.conf, it will have nothing in default.</p>
</pre></div>
<p>Lovely.</p>
</div>
-The baz tag2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-03-14:tag/baz.html<p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
+The baz tag2010-03-14T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2010-03-14:tag/baz.html<p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
\ No newline at end of file
diff --git a/pelican/tests/output/custom/feeds/all-fr.atom.xml b/pelican/tests/output/custom/feeds/all-fr.atom.xml
index f0e77d02..5d58742c 100644
--- a/pelican/tests/output/custom/feeds/all-fr.atom.xml
+++ b/pelican/tests/output/custom/feeds/all-fr.atom.xml
@@ -1,4 +1,4 @@
Alexis' loghttp://blog.notmyidea.org/2012-03-02T14:01:01+01:00Trop bien !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2012-03-02:oh-yeah-fr.html<p>Et voila du contenu en français</p>
-Deuxième article2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2012-02-29:second-article-fr.html<p>Ceci est un article, en français.</p>
+Deuxième article2012-02-29T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2012-02-29:second-article-fr.html<p>Ceci est un article, en français.</p>
\ No newline at end of file
diff --git a/pelican/tests/output/custom/feeds/all.atom.xml b/pelican/tests/output/custom/feeds/all.atom.xml
index 4f50852f..391ab85f 100644
--- a/pelican/tests/output/custom/feeds/all.atom.xml
+++ b/pelican/tests/output/custom/feeds/all.atom.xml
@@ -1,14 +1,14 @@
-Alexis' loghttp://blog.notmyidea.org/2012-03-02T14:01:01+01:00FILENAME_METADATA example2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2012-11-30:filename_metadata-example.html<p>Some cool stuff!</p>
+Alexis' loghttp://blog.notmyidea.org/2013-11-17T23:29:00+01:00FILENAME_METADATA example2012-11-30T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2012-11-30:filename_metadata-example.html<p>Some cool stuff!</p>
Trop bien !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2012-03-02:oh-yeah-fr.html<p>Et voila du contenu en français</p>
-Second article2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2012-02-29:second-article.html<p>This is some article, in english</p>
-Deuxième article2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2012-02-29:second-article-fr.html<p>Ceci est un article, en français.</p>
-A markdown powered article2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-04-20:a-markdown-powered-article.html<p>You're mutually oblivious.</p>
+Second article2012-02-29T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2012-02-29:second-article.html<p>This is some article, in english</p>
+Deuxième article2012-02-29T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2012-02-29:second-article-fr.html<p>Ceci est un article, en français.</p>
+A markdown powered article2011-04-20T00:00:00+02:00Alexis Métaireautag:blog.notmyidea.org,2011-04-20:a-markdown-powered-article.html<p>You're mutually oblivious.</p>
<p><a href="http://blog.notmyidea.org/unbelievable.html">a root-relative link to unbelievable</a>
-<a href="http://blog.notmyidea.org/unbelievable.html">a file-relative link to unbelievable</a></p>Article 12012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-1.html<p>Article 1</p>
-Article 22012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-2.html<p>Article 2</p>
-Article 32012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-3.html<p>Article 3</p>
-This is a super article !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
+<a href="http://blog.notmyidea.org/unbelievable.html">a file-relative link to unbelievable</a></p>Article 12011-02-17T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-1.html<p>Article 1</p>
+Article 22011-02-17T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-2.html<p>Article 2</p>
+Article 32011-02-17T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-3.html<p>Article 3</p>
+This is a super article !2013-11-17T23:29:00+01:00Alexis Métaireautag:blog.notmyidea.org,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
<div class="section" id="this-is-a-simple-title">
<h2>This is a simple title</h2>
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
@@ -20,13 +20,13 @@
</pre>
<p>→ And now try with some utf8 hell: ééé</p>
</div>
-Oh yeah !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-10-20:oh-yeah.html<div class="section" id="why-not">
+Oh yeah !2010-10-20T10:14:00+02:00Alexis Métaireautag:blog.notmyidea.org,2010-10-20:oh-yeah.html<div class="section" id="why-not">
<h2>Why not ?</h2>
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
YEAH !</p>
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
</div>
-Unbelievable !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-10-15:unbelievable.html<p>Or completely awesome. Depends the needs.</p>
+Unbelievable !2010-10-15T20:30:00+02:00Alexis Métaireautag:blog.notmyidea.org,2010-10-15:unbelievable.html<p>Or completely awesome. Depends the needs.</p>
<p><a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a root-relative link to markdown-article</a>
<a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a file-relative link to markdown-article</a></p>
<div class="section" id="testing-sourcecode-directive">
@@ -59,5 +59,5 @@ pelican.conf, it will have nothing in default.</p>
</pre></div>
<p>Lovely.</p>
</div>
-The baz tag2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-03-14:tag/baz.html<p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
+The baz tag2010-03-14T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2010-03-14:tag/baz.html<p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
\ No newline at end of file
diff --git a/pelican/tests/output/custom/feeds/all.rss.xml b/pelican/tests/output/custom/feeds/all.rss.xml
index 44a5e8df..a78d2dec 100644
--- a/pelican/tests/output/custom/feeds/all.rss.xml
+++ b/pelican/tests/output/custom/feeds/all.rss.xml
@@ -1,14 +1,14 @@
-Alexis' loghttp://blog.notmyidea.org/Fri, 02 Mar 2012 14:01:01 +0100- FILENAME_METADATA examplehttp://blog.notmyidea.org/filename_metadata-example.html<p>Some cool stuff!</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2012-11-30:filename_metadata-example.html
- Trop bien !http://blog.notmyidea.org/oh-yeah-fr.html<p>Et voila du contenu en français</p>
+Alexis' loghttp://blog.notmyidea.org/Sun, 17 Nov 2013 23:29:00 +0100
- FILENAME_METADATA examplehttp://blog.notmyidea.org/filename_metadata-example.html<p>Some cool stuff!</p>
+Alexis MétaireauFri, 30 Nov 2012 00:00:00 +0100tag:blog.notmyidea.org,2012-11-30:filename_metadata-example.html
- Trop bien !http://blog.notmyidea.org/oh-yeah-fr.html<p>Et voila du contenu en français</p>
Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2012-03-02:oh-yeah-fr.html
- Second articlehttp://blog.notmyidea.org/second-article.html<p>This is some article, in english</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2012-02-29:second-article.htmlfoobarbaz
- Deuxième articlehttp://blog.notmyidea.org/second-article-fr.html<p>Ceci est un article, en français.</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2012-02-29:second-article-fr.htmlfoobarbaz
- A markdown powered articlehttp://blog.notmyidea.org/a-markdown-powered-article.html<p>You're mutually oblivious.</p>
+Alexis MétaireauWed, 29 Feb 2012 00:00:00 +0100tag:blog.notmyidea.org,2012-02-29:second-article.htmlfoobarbaz
- Deuxième articlehttp://blog.notmyidea.org/second-article-fr.html<p>Ceci est un article, en français.</p>
+Alexis MétaireauWed, 29 Feb 2012 00:00:00 +0100tag:blog.notmyidea.org,2012-02-29:second-article-fr.htmlfoobarbaz
- A markdown powered articlehttp://blog.notmyidea.org/a-markdown-powered-article.html<p>You're mutually oblivious.</p>
<p><a href="http://blog.notmyidea.org/unbelievable.html">a root-relative link to unbelievable</a>
-<a href="http://blog.notmyidea.org/unbelievable.html">a file-relative link to unbelievable</a></p>Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2011-04-20:a-markdown-powered-article.html
- Article 1http://blog.notmyidea.org/article-1.html<p>Article 1</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2011-02-17:article-1.html
- Article 2http://blog.notmyidea.org/article-2.html<p>Article 2</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2011-02-17:article-2.html
- Article 3http://blog.notmyidea.org/article-3.html<p>Article 3</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2011-02-17:article-3.html
- This is a super article !http://blog.notmyidea.org/this-is-a-super-article.html<p>Some content here !</p>
+<a href="http://blog.notmyidea.org/unbelievable.html">a file-relative link to unbelievable</a></p>Alexis MétaireauWed, 20 Apr 2011 00:00:00 +0200tag:blog.notmyidea.org,2011-04-20:a-markdown-powered-article.html
- Article 1http://blog.notmyidea.org/article-1.html<p>Article 1</p>
+Alexis MétaireauThu, 17 Feb 2011 00:00:00 +0100tag:blog.notmyidea.org,2011-02-17:article-1.html
- Article 2http://blog.notmyidea.org/article-2.html<p>Article 2</p>
+Alexis MétaireauThu, 17 Feb 2011 00:00:00 +0100tag:blog.notmyidea.org,2011-02-17:article-2.html
- Article 3http://blog.notmyidea.org/article-3.html<p>Article 3</p>
+Alexis MétaireauThu, 17 Feb 2011 00:00:00 +0100tag:blog.notmyidea.org,2011-02-17:article-3.html
- This is a super article !http://blog.notmyidea.org/this-is-a-super-article.html<p>Some content here !</p>
<div class="section" id="this-is-a-simple-title">
<h2>This is a simple title</h2>
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
@@ -20,13 +20,13 @@
</pre>
<p>→ And now try with some utf8 hell: ééé</p>
</div>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2010-12-02:this-is-a-super-article.htmlfoobarfoobar
- Oh yeah !http://blog.notmyidea.org/oh-yeah.html<div class="section" id="why-not">
+Alexis MétaireauSun, 17 Nov 2013 23:29:00 +0100tag:blog.notmyidea.org,2010-12-02:this-is-a-super-article.htmlfoobarfoobar
- Oh yeah !http://blog.notmyidea.org/oh-yeah.html<div class="section" id="why-not">
<h2>Why not ?</h2>
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
YEAH !</p>
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
</div>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2010-10-20:oh-yeah.htmlohbaryeah
- Unbelievable !http://blog.notmyidea.org/unbelievable.html<p>Or completely awesome. Depends the needs.</p>
+Alexis MétaireauWed, 20 Oct 2010 10:14:00 +0200tag:blog.notmyidea.org,2010-10-20:oh-yeah.htmlohbaryeah
- Unbelievable !http://blog.notmyidea.org/unbelievable.html<p>Or completely awesome. Depends the needs.</p>
<p><a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a root-relative link to markdown-article</a>
<a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a file-relative link to markdown-article</a></p>
<div class="section" id="testing-sourcecode-directive">
@@ -59,5 +59,5 @@ pelican.conf, it will have nothing in default.</p>
</pre></div>
<p>Lovely.</p>
</div>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2010-10-15:unbelievable.html
- The baz taghttp://blog.notmyidea.org/tag/baz.html<p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2010-03-14:tag/baz.html
\ No newline at end of file
+Alexis MétaireauFri, 15 Oct 2010 20:30:00 +0200tag:blog.notmyidea.org,2010-10-15:unbelievable.html - The baz taghttp://blog.notmyidea.org/tag/baz.html<p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
+Alexis MétaireauSun, 14 Mar 2010 00:00:00 +0100tag:blog.notmyidea.org,2010-03-14:tag/baz.html
\ No newline at end of file
diff --git a/pelican/tests/output/custom/feeds/bar.atom.xml b/pelican/tests/output/custom/feeds/bar.atom.xml
index 4e141f0d..99b7cc45 100644
--- a/pelican/tests/output/custom/feeds/bar.atom.xml
+++ b/pelican/tests/output/custom/feeds/bar.atom.xml
@@ -1,5 +1,5 @@
-Alexis' loghttp://blog.notmyidea.org/2012-03-02T14:01:01+01:00Oh yeah !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-10-20:oh-yeah.html<div class="section" id="why-not">
+Alexis' loghttp://blog.notmyidea.org/2010-10-20T10:14:00+02:00Oh yeah !2010-10-20T10:14:00+02:00Alexis Métaireautag:blog.notmyidea.org,2010-10-20:oh-yeah.html<div class="section" id="why-not">
<h2>Why not ?</h2>
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
YEAH !</p>
diff --git a/pelican/tests/output/custom/feeds/bar.rss.xml b/pelican/tests/output/custom/feeds/bar.rss.xml
index c884c7ff..94bd93f2 100644
--- a/pelican/tests/output/custom/feeds/bar.rss.xml
+++ b/pelican/tests/output/custom/feeds/bar.rss.xml
@@ -1,8 +1,8 @@
-Alexis' loghttp://blog.notmyidea.org/Fri, 02 Mar 2012 14:01:01 +0100- Oh yeah !http://blog.notmyidea.org/oh-yeah.html<div class="section" id="why-not">
+Alexis' loghttp://blog.notmyidea.org/Wed, 20 Oct 2010 10:14:00 +0200
- Oh yeah !http://blog.notmyidea.org/oh-yeah.html<div class="section" id="why-not">
<h2>Why not ?</h2>
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
YEAH !</p>
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
</div>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2010-10-20:oh-yeah.htmlohbaryeah
\ No newline at end of file
+Alexis MétaireauWed, 20 Oct 2010 10:14:00 +0200tag:blog.notmyidea.org,2010-10-20:oh-yeah.htmlohbaryeah
\ No newline at end of file
diff --git a/pelican/tests/output/custom/feeds/cat1.atom.xml b/pelican/tests/output/custom/feeds/cat1.atom.xml
index a45918dc..5454ce4d 100644
--- a/pelican/tests/output/custom/feeds/cat1.atom.xml
+++ b/pelican/tests/output/custom/feeds/cat1.atom.xml
@@ -1,7 +1,7 @@
-Alexis' loghttp://blog.notmyidea.org/2012-03-02T14:01:01+01:00A markdown powered article2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-04-20:a-markdown-powered-article.html<p>You're mutually oblivious.</p>
+Alexis' loghttp://blog.notmyidea.org/2011-04-20T00:00:00+02:00A markdown powered article2011-04-20T00:00:00+02:00Alexis Métaireautag:blog.notmyidea.org,2011-04-20:a-markdown-powered-article.html<p>You're mutually oblivious.</p>
<p><a href="http://blog.notmyidea.org/unbelievable.html">a root-relative link to unbelievable</a>
-<a href="http://blog.notmyidea.org/unbelievable.html">a file-relative link to unbelievable</a></p>Article 12012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-1.html<p>Article 1</p>
-Article 22012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-2.html<p>Article 2</p>
-Article 32012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-3.html<p>Article 3</p>
+<a href="http://blog.notmyidea.org/unbelievable.html">a file-relative link to unbelievable</a></p>Article 12011-02-17T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-1.html<p>Article 1</p>
+Article 22011-02-17T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-2.html<p>Article 2</p>
+Article 32011-02-17T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2011-02-17:article-3.html<p>Article 3</p>
\ No newline at end of file
diff --git a/pelican/tests/output/custom/feeds/cat1.rss.xml b/pelican/tests/output/custom/feeds/cat1.rss.xml
index f1b1b87c..62b93fd1 100644
--- a/pelican/tests/output/custom/feeds/cat1.rss.xml
+++ b/pelican/tests/output/custom/feeds/cat1.rss.xml
@@ -1,7 +1,7 @@
-Alexis' loghttp://blog.notmyidea.org/Fri, 02 Mar 2012 14:01:01 +0100- A markdown powered articlehttp://blog.notmyidea.org/a-markdown-powered-article.html<p>You're mutually oblivious.</p>
+Alexis' loghttp://blog.notmyidea.org/Wed, 20 Apr 2011 00:00:00 +0200
- A markdown powered articlehttp://blog.notmyidea.org/a-markdown-powered-article.html<p>You're mutually oblivious.</p>
<p><a href="http://blog.notmyidea.org/unbelievable.html">a root-relative link to unbelievable</a>
-<a href="http://blog.notmyidea.org/unbelievable.html">a file-relative link to unbelievable</a></p>Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2011-04-20:a-markdown-powered-article.html
- Article 1http://blog.notmyidea.org/article-1.html<p>Article 1</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2011-02-17:article-1.html
- Article 2http://blog.notmyidea.org/article-2.html<p>Article 2</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2011-02-17:article-2.html
- Article 3http://blog.notmyidea.org/article-3.html<p>Article 3</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2011-02-17:article-3.html
\ No newline at end of file
+<a href="http://blog.notmyidea.org/unbelievable.html">a file-relative link to unbelievable</a></p>Alexis MétaireauWed, 20 Apr 2011 00:00:00 +0200tag:blog.notmyidea.org,2011-04-20:a-markdown-powered-article.html - Article 1http://blog.notmyidea.org/article-1.html<p>Article 1</p>
+Alexis MétaireauThu, 17 Feb 2011 00:00:00 +0100tag:blog.notmyidea.org,2011-02-17:article-1.html
- Article 2http://blog.notmyidea.org/article-2.html<p>Article 2</p>
+Alexis MétaireauThu, 17 Feb 2011 00:00:00 +0100tag:blog.notmyidea.org,2011-02-17:article-2.html
- Article 3http://blog.notmyidea.org/article-3.html<p>Article 3</p>
+Alexis MétaireauThu, 17 Feb 2011 00:00:00 +0100tag:blog.notmyidea.org,2011-02-17:article-3.html
\ No newline at end of file
diff --git a/pelican/tests/output/custom/feeds/misc.atom.xml b/pelican/tests/output/custom/feeds/misc.atom.xml
index 5746c95e..91d6b28f 100644
--- a/pelican/tests/output/custom/feeds/misc.atom.xml
+++ b/pelican/tests/output/custom/feeds/misc.atom.xml
@@ -1,7 +1,7 @@
-Alexis' loghttp://blog.notmyidea.org/2012-03-02T14:01:01+01:00FILENAME_METADATA example2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2012-11-30:filename_metadata-example.html<p>Some cool stuff!</p>
-Second article2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2012-02-29:second-article.html<p>This is some article, in english</p>
-Unbelievable !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-10-15:unbelievable.html<p>Or completely awesome. Depends the needs.</p>
+Alexis' loghttp://blog.notmyidea.org/2012-11-30T00:00:00+01:00FILENAME_METADATA example2012-11-30T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2012-11-30:filename_metadata-example.html<p>Some cool stuff!</p>
+Second article2012-02-29T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2012-02-29:second-article.html<p>This is some article, in english</p>
+Unbelievable !2010-10-15T20:30:00+02:00Alexis Métaireautag:blog.notmyidea.org,2010-10-15:unbelievable.html<p>Or completely awesome. Depends the needs.</p>
<p><a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a root-relative link to markdown-article</a>
<a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a file-relative link to markdown-article</a></p>
<div class="section" id="testing-sourcecode-directive">
@@ -34,5 +34,5 @@ pelican.conf, it will have nothing in default.</p>
</pre></div>
<p>Lovely.</p>
</div>
-The baz tag2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-03-14:tag/baz.html<p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
+The baz tag2010-03-14T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2010-03-14:tag/baz.html<p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
\ No newline at end of file
diff --git a/pelican/tests/output/custom/feeds/misc.rss.xml b/pelican/tests/output/custom/feeds/misc.rss.xml
index 10b57521..3493d2a3 100644
--- a/pelican/tests/output/custom/feeds/misc.rss.xml
+++ b/pelican/tests/output/custom/feeds/misc.rss.xml
@@ -1,7 +1,7 @@
-Alexis' loghttp://blog.notmyidea.org/Fri, 02 Mar 2012 14:01:01 +0100- FILENAME_METADATA examplehttp://blog.notmyidea.org/filename_metadata-example.html<p>Some cool stuff!</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2012-11-30:filename_metadata-example.html
- Second articlehttp://blog.notmyidea.org/second-article.html<p>This is some article, in english</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2012-02-29:second-article.htmlfoobarbaz
- Unbelievable !http://blog.notmyidea.org/unbelievable.html<p>Or completely awesome. Depends the needs.</p>
+Alexis' loghttp://blog.notmyidea.org/Fri, 30 Nov 2012 00:00:00 +0100
- FILENAME_METADATA examplehttp://blog.notmyidea.org/filename_metadata-example.html<p>Some cool stuff!</p>
+Alexis MétaireauFri, 30 Nov 2012 00:00:00 +0100tag:blog.notmyidea.org,2012-11-30:filename_metadata-example.html
- Second articlehttp://blog.notmyidea.org/second-article.html<p>This is some article, in english</p>
+Alexis MétaireauWed, 29 Feb 2012 00:00:00 +0100tag:blog.notmyidea.org,2012-02-29:second-article.htmlfoobarbaz
- Unbelievable !http://blog.notmyidea.org/unbelievable.html<p>Or completely awesome. Depends the needs.</p>
<p><a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a root-relative link to markdown-article</a>
<a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a file-relative link to markdown-article</a></p>
<div class="section" id="testing-sourcecode-directive">
@@ -34,5 +34,5 @@ pelican.conf, it will have nothing in default.</p>
</pre></div>
<p>Lovely.</p>
</div>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2010-10-15:unbelievable.html
- The baz taghttp://blog.notmyidea.org/tag/baz.html<p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2010-03-14:tag/baz.html
\ No newline at end of file
+Alexis MétaireauFri, 15 Oct 2010 20:30:00 +0200tag:blog.notmyidea.org,2010-10-15:unbelievable.html - The baz taghttp://blog.notmyidea.org/tag/baz.html<p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
+Alexis MétaireauSun, 14 Mar 2010 00:00:00 +0100tag:blog.notmyidea.org,2010-03-14:tag/baz.html
\ No newline at end of file
diff --git a/pelican/tests/output/custom/feeds/yeah.atom.xml b/pelican/tests/output/custom/feeds/yeah.atom.xml
index db39042a..bd1da591 100644
--- a/pelican/tests/output/custom/feeds/yeah.atom.xml
+++ b/pelican/tests/output/custom/feeds/yeah.atom.xml
@@ -1,5 +1,5 @@
-Alexis' loghttp://blog.notmyidea.org/2012-03-02T14:01:01+01:00This is a super article !2012-03-02T14:01:01+01:00Alexis Métaireautag:blog.notmyidea.org,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
+Alexis' loghttp://blog.notmyidea.org/2013-11-17T23:29:00+01:00This is a super article !2013-11-17T23:29:00+01:00Alexis Métaireautag:blog.notmyidea.org,2010-12-02:this-is-a-super-article.html<p>Some content here !</p>
<div class="section" id="this-is-a-simple-title">
<h2>This is a simple title</h2>
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
diff --git a/pelican/tests/output/custom/feeds/yeah.rss.xml b/pelican/tests/output/custom/feeds/yeah.rss.xml
index 398d9de9..f054d3a6 100644
--- a/pelican/tests/output/custom/feeds/yeah.rss.xml
+++ b/pelican/tests/output/custom/feeds/yeah.rss.xml
@@ -1,5 +1,5 @@
-Alexis' loghttp://blog.notmyidea.org/Fri, 02 Mar 2012 14:01:01 +0100- This is a super article !http://blog.notmyidea.org/this-is-a-super-article.html<p>Some content here !</p>
+Alexis' loghttp://blog.notmyidea.org/Sun, 17 Nov 2013 23:29:00 +0100
- This is a super article !http://blog.notmyidea.org/this-is-a-super-article.html<p>Some content here !</p>
<div class="section" id="this-is-a-simple-title">
<h2>This is a simple title</h2>
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
@@ -11,4 +11,4 @@
</pre>
<p>→ And now try with some utf8 hell: ééé</p>
</div>
-Alexis MétaireauFri, 02 Mar 2012 14:01:01 +0100tag:blog.notmyidea.org,2010-12-02:this-is-a-super-article.htmlfoobarfoobar
\ No newline at end of file
+Alexis MétaireauSun, 17 Nov 2013 23:29:00 +0100tag:blog.notmyidea.org,2010-12-02:this-is-a-super-article.htmlfoobarfoobar
\ No newline at end of file
diff --git a/pelican/tests/output/custom/filename_metadata-example.html b/pelican/tests/output/custom/filename_metadata-example.html
index 66c8d99e..5d22e0eb 100644
--- a/pelican/tests/output/custom/filename_metadata-example.html
+++ b/pelican/tests/output/custom/filename_metadata-example.html
@@ -41,10 +41,6 @@
Published: Fri 30 November 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/index.html b/pelican/tests/output/custom/index.html
index c4d16260..c46e8739 100644
--- a/pelican/tests/output/custom/index.html
+++ b/pelican/tests/output/custom/index.html
@@ -36,10 +36,6 @@
Published: Fri 30 November 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -65,10 +61,6 @@
Published: Wed 29 February 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -94,10 +86,6 @@
Published: Wed 20 April 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -122,10 +110,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/index2.html b/pelican/tests/output/custom/index2.html
index 8fa98107..3cc5623f 100644
--- a/pelican/tests/output/custom/index2.html
+++ b/pelican/tests/output/custom/index2.html
@@ -42,10 +42,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -69,10 +65,6 @@
Published: Thu 17 February 2011
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -97,8 +89,8 @@
Published: Thu 02 December 2010
-
- Updated: Fri 02 March 2012
+
+ Updated: Sun 17 November 2013
@@ -124,10 +116,6 @@ as well as inline markup.
Published: Wed 20 October 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/index3.html b/pelican/tests/output/custom/index3.html
index 25ea997f..e08af17e 100644
--- a/pelican/tests/output/custom/index3.html
+++ b/pelican/tests/output/custom/index3.html
@@ -42,10 +42,6 @@
Published: Fri 15 October 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -79,10 +75,6 @@ pelican.conf, it ...
Published: Sun 14 March 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/oh-yeah.html b/pelican/tests/output/custom/oh-yeah.html
index 9a0cb098..5ad40219 100644
--- a/pelican/tests/output/custom/oh-yeah.html
+++ b/pelican/tests/output/custom/oh-yeah.html
@@ -41,10 +41,6 @@
Published: Wed 20 October 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/second-article-fr.html b/pelican/tests/output/custom/second-article-fr.html
index a4df3e77..a70748b0 100644
--- a/pelican/tests/output/custom/second-article-fr.html
+++ b/pelican/tests/output/custom/second-article-fr.html
@@ -41,10 +41,6 @@
Published: Wed 29 February 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/second-article.html b/pelican/tests/output/custom/second-article.html
index e1d875fa..b3ae9584 100644
--- a/pelican/tests/output/custom/second-article.html
+++ b/pelican/tests/output/custom/second-article.html
@@ -41,10 +41,6 @@
Published: Wed 29 February 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/tag/bar.html b/pelican/tests/output/custom/tag/bar.html
index 8d0d7efb..1b7b21c5 100644
--- a/pelican/tests/output/custom/tag/bar.html
+++ b/pelican/tests/output/custom/tag/bar.html
@@ -36,10 +36,6 @@
Published: Wed 29 February 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -68,8 +64,8 @@
Published: Thu 02 December 2010
-
- Updated: Fri 02 March 2012
+
+ Updated: Sun 17 November 2013
@@ -95,10 +91,6 @@ as well as inline markup.
Published: Wed 20 October 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/tag/baz.html b/pelican/tests/output/custom/tag/baz.html
index c1d198f7..8609a6f7 100644
--- a/pelican/tests/output/custom/tag/baz.html
+++ b/pelican/tests/output/custom/tag/baz.html
@@ -41,10 +41,6 @@
Published: Sun 14 March 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/tag/foo.html b/pelican/tests/output/custom/tag/foo.html
index b4898a07..e5c58b36 100644
--- a/pelican/tests/output/custom/tag/foo.html
+++ b/pelican/tests/output/custom/tag/foo.html
@@ -36,10 +36,6 @@
Published: Wed 29 February 2012
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
@@ -68,8 +64,8 @@
Published: Thu 02 December 2010
-
- Updated: Fri 02 March 2012
+
+ Updated: Sun 17 November 2013
diff --git a/pelican/tests/output/custom/tag/foobar.html b/pelican/tests/output/custom/tag/foobar.html
index 041e58a7..c62d3418 100644
--- a/pelican/tests/output/custom/tag/foobar.html
+++ b/pelican/tests/output/custom/tag/foobar.html
@@ -37,8 +37,8 @@
Published: Thu 02 December 2010
-
- Updated: Fri 02 March 2012
+
+ Updated: Sun 17 November 2013
diff --git a/pelican/tests/output/custom/tag/yeah.html b/pelican/tests/output/custom/tag/yeah.html
index 442ac5e1..288f4ec7 100644
--- a/pelican/tests/output/custom/tag/yeah.html
+++ b/pelican/tests/output/custom/tag/yeah.html
@@ -36,10 +36,6 @@
Published: Wed 20 October 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/tests/output/custom/this-is-a-super-article.html b/pelican/tests/output/custom/this-is-a-super-article.html
index c9da763a..757627c4 100644
--- a/pelican/tests/output/custom/this-is-a-super-article.html
+++ b/pelican/tests/output/custom/this-is-a-super-article.html
@@ -42,8 +42,8 @@
Published: Thu 02 December 2010
-
- Updated: Fri 02 March 2012
+
+ Updated: Sun 17 November 2013
diff --git a/pelican/tests/output/custom/unbelievable.html b/pelican/tests/output/custom/unbelievable.html
index 9ebbab52..71416a97 100644
--- a/pelican/tests/output/custom/unbelievable.html
+++ b/pelican/tests/output/custom/unbelievable.html
@@ -41,10 +41,6 @@
Published: Fri 15 October 2010
-
-
- Updated: Fri 02 March 2012
-
By Alexis Métaireau
diff --git a/pelican/themes/notmyidea/templates/article_infos.html b/pelican/themes/notmyidea/templates/article_infos.html
index 8ba07157..54c88004 100644
--- a/pelican/themes/notmyidea/templates/article_infos.html
+++ b/pelican/themes/notmyidea/templates/article_infos.html
@@ -2,7 +2,7 @@
Published: {{ article.locale_date }}
- {% if article.modified != article.date %}
+ {% if article.modified %}
Updated: {{ article.locale_modified }}
diff --git a/pelican/themes/simple/templates/article.html b/pelican/themes/simple/templates/article.html
index 6b22150f..b5368d9f 100644
--- a/pelican/themes/simple/templates/article.html
+++ b/pelican/themes/simple/templates/article.html
@@ -28,7 +28,7 @@
{{ article.locale_date }}
- {% if article.modified != article.date %}
+ {% if article.modified %}
{{ article.locale_modified }}
diff --git a/pelican/themes/simple/templates/page.html b/pelican/themes/simple/templates/page.html
index 02764f2d..5ceb7796 100644
--- a/pelican/themes/simple/templates/page.html
+++ b/pelican/themes/simple/templates/page.html
@@ -6,7 +6,10 @@
{{ translations.translations_for(page) }}
{{ page.content }}
-
- Last updated: {{ page.locale_modified }}
-
+
+ {% if page.modified %}
+
+ Last updated: {{ page.locale_modified }}
+
+ {% endif %}
{% endblock %}
diff --git a/pelican/writers.py b/pelican/writers.py
index 43e6c5fe..30b0ed16 100644
--- a/pelican/writers.py
+++ b/pelican/writers.py
@@ -54,7 +54,7 @@ class Writer(object):
description=item.get_content(self.site_url),
categories=item.tags if hasattr(item, 'tags') else None,
author_name=getattr(item, 'author', ''),
- pubdate=set_date_tzinfo(item.modified,
+ pubdate=set_date_tzinfo(item.modified if hasattr(item, 'modified') else item.date,
self.settings.get('TIMEZONE', None)))
def _open_w(self, filename, encoding, override=False):
diff --git a/samples/content/super_article.rst b/samples/content/super_article.rst
index 76e57683..a96176a1 100644
--- a/samples/content/super_article.rst
+++ b/samples/content/super_article.rst
@@ -3,6 +3,7 @@ This is a super article !
:tags: foo, bar, foobar
:date: 2010-12-02 10:14
+:modified: 2013-11-17 23:29
:category: yeah
:author: Alexis Métaireau
:summary: