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

Changing datetime #38

Open
jamcardinality opened this issue Oct 2, 2018 · 2 comments
Open

Changing datetime #38

jamcardinality opened this issue Oct 2, 2018 · 2 comments

Comments

@jamcardinality
Copy link

how to change the datetime of system?

@marrodeur
Copy link

Hello
pour changer la date:
layouts/header.php

Francais:
<head> <meta charset="UTF-8"> <title><?php ### **setlocale (LC_TIME, 'fr_FR.utf8','fra');** if (!empty($page_title)) echo remove_junk($page_title);

et plus bas:

<div class="header-date pull-left"> <strong><?php ### **echo strftime("%A %d %B %H:%M:%S", time());** ?></strong> </div> <div class="pull-right clearfix">

For your pays:

https://www.w3schools.com/PHP/func_string_setlocale.asp

@marrodeur
Copy link

Juste dans le header.
Pour les articles je ne l'ai pas fais car je trouve que c'est mieux pour les recherches.

Just in the header. For articles I did not do it because I think it's better for research.

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