Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't seem to change the way the date is displayed on posts, meta descriptions, etc. #26

Closed
singhjay opened this issue Aug 10, 2014 · 1 comment

Comments

@singhjay
Copy link

For example, in my vendor/fbf/laravel-blog/src/config/views.php, I have:

<?php

/**
 * Configuration options for the built-in views
 */
return array(

    /**
     * Date format for published date, shown on partials.list and partials.details. Should be
     * a valid date() format string, e.g.
     *
     * @type string
     */
    'published_date_format' => 'jS F, Y',

, but yet the blog doesn't seem to be reading and updating. Same thing goes with the header tag, it still reads "My Blog" instead of what I actually set it to.

@neilcrookes
Copy link
Contributor

You should never amend the files in vendor. The php artisan config:publish command copies the config from the vendor directory to your app/config/packages directory. Update the settings in this config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants