forked from github/pelican
Fix test errors on OSX
On OSX, if LC_TIME and LC_CTYPE differs the output of strftime is not properly decoded
in Python 3. This makes sure that the 'utils.DateFormatter' and the related Jinja filter
'strftime' set the same value for LC_TIME and LC_CTYPE while formatting.
Also, '%a' is removed from DEFAULT_DATE_FORMAT in 'custom_locale' tests. OSX and *nix have
different conversions for '%a' ('Jeu' vs 'jeu.') and there is not a feasible way to handle
the difference for tests.
This commit is contained in:
parent
3f6b130d6e
commit
009543b7e4
33 changed files with 137 additions and 130 deletions
|
|
@ -32,25 +32,25 @@
|
|||
<h1>Archives for Alexis' log</h1>
|
||||
|
||||
<dl>
|
||||
<dt>ven. 30 novembre 2012</dt>
|
||||
<dt>30 novembre 2012</dt>
|
||||
<dd><a href="./posts/2012/novembre/30/filename_metadata-example/">FILENAME_METADATA example</a></dd>
|
||||
<dt>mer. 29 février 2012</dt>
|
||||
<dt>29 février 2012</dt>
|
||||
<dd><a href="./posts/2012/février/29/second-article/">Second article</a></dd>
|
||||
<dt>mer. 20 avril 2011</dt>
|
||||
<dt>20 avril 2011</dt>
|
||||
<dd><a href="./posts/2011/avril/20/a-markdown-powered-article/">A markdown powered article</a></dd>
|
||||
<dt>jeu. 17 février 2011</dt>
|
||||
<dt>17 février 2011</dt>
|
||||
<dd><a href="./posts/2011/février/17/article-1/">Article 1</a></dd>
|
||||
<dt>jeu. 17 février 2011</dt>
|
||||
<dt>17 février 2011</dt>
|
||||
<dd><a href="./posts/2011/février/17/article-2/">Article 2</a></dd>
|
||||
<dt>jeu. 17 février 2011</dt>
|
||||
<dt>17 février 2011</dt>
|
||||
<dd><a href="./posts/2011/février/17/article-3/">Article 3</a></dd>
|
||||
<dt>jeu. 02 décembre 2010</dt>
|
||||
<dt>02 décembre 2010</dt>
|
||||
<dd><a href="./posts/2010/décembre/02/this-is-a-super-article/">This is a super article !</a></dd>
|
||||
<dt>mer. 20 octobre 2010</dt>
|
||||
<dt>20 octobre 2010</dt>
|
||||
<dd><a href="./posts/2010/octobre/20/oh-yeah/">Oh yeah !</a></dd>
|
||||
<dt>ven. 15 octobre 2010</dt>
|
||||
<dt>15 octobre 2010</dt>
|
||||
<dd><a href="./posts/2010/octobre/15/unbelievable/">Unbelievable !</a></dd>
|
||||
<dt>dim. 14 mars 2010</dt>
|
||||
<dt>14 mars 2010</dt>
|
||||
<dd><a href="./tag/baz.html">The baz tag</a></dd>
|
||||
</dl>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue