December 31, 2016, 11:36am
I installed latest version Kirby on a local server.
During installation (panel) I selected my language (Italian)
But in Dashboard the date format is wrong:
In config.php I added:
December 31, 2016, 2:30pm
As far as I know, unfortunately, you can’t change the date format in the sidebar of the Panel without modifying the source code.
December 31, 2016, 3:37pm
this is a limitation…
What sense does it install Kirby with my own language, if the display format of some data is in a different language?
I can modify the source code, but the next update I lose the changes.
By the way, what files should I change?
Then, about the public side, you can change the date format?
I’m trying to understand, before buying a license.
@texnixe is correct, but she answers only the first question of your initial post.
If you look at
Docs: , you can set the format of the date field in the right part of the panel. Example with custom format
The answer to your new question is:
what you see if you install
Kirby and go there to the langkit German version of the page from your new image.
I strongly recommend installing this package “
langkit” to understand the issues of your questions.
To get this, you have to build your php code in your snippets, templates and so on like
<p class="article-date"><?= $article->date(l('date.format')) ?></p>
from that page.
On the frontend, you can format your date like this:
<?= $page->date('d.m.Y') ?>
or whatever format you prefer.