Merge pull request #230 from theshka/master

fix date_formatted issue
This commit is contained in:
Tyler Heshka 2015-05-29 13:39:14 -04:00
commit 48e5c9e500
2 changed files with 22 additions and 23 deletions

View File

@ -34,7 +34,7 @@
/* /*
* CONTENT * CONTENT
*/ */
// $config['date_format'] = 'jS M Y'; // Set the PHP date format as described here: http://php.net/manual/en/function.strftime.php // $config['date_format'] = '%D %T'; // Set the PHP date format as described here: http://php.net/manual/en/function.strftime.php
// $config['pages_order_by'] = 'alpha'; // Order pages by "alpha" or "date" // $config['pages_order_by'] = 'alpha'; // Order pages by "alpha" or "date"
// $config['pages_order'] = 'asc'; // Order pages "asc" or "desc" // $config['pages_order'] = 'asc'; // Order pages "asc" or "desc"
// $config['excerpt_length'] = 50; // The pages excerpt length (in words) // $config['excerpt_length'] = 50; // The pages excerpt length (in words)

View File

@ -1,5 +1,4 @@
<?php <?php
use \ParsedownExtra;
/** /**
* Pico * Pico
@ -192,7 +191,7 @@ class Pico {
'site_title' => 'Pico', 'site_title' => 'Pico',
'base_url' => $this->base_url(), 'base_url' => $this->base_url(),
'theme' => 'default', 'theme' => 'default',
'date_format' => 'jS M Y', 'date_format' => '%D %T',
'twig_config' => array('cache' => false, 'autoescape' => false, 'debug' => false), 'twig_config' => array('cache' => false, 'autoescape' => false, 'debug' => false),
'pages_order_by' => 'alpha', 'pages_order_by' => 'alpha',
'pages_order' => 'asc', 'pages_order' => 'asc',