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

Rendered month in Blog #94

Open
keesversluis opened this issue Nov 9, 2020 · 1 comment
Open

Rendered month in Blog #94

keesversluis opened this issue Nov 9, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@keesversluis
Copy link

I have found a bug in the Blog module displaying the published date. I cannot detect any errors in the Dutch translation.
The Blog date format is set '01 januari 2016' (Dutch translation). The rendered month is not correct. For example:

januari  > januariuari
februari > februariruari
juni     > junii
november > novemberember
december > decemberember
@michu2k michu2k added the bug Something isn't working label Nov 11, 2020
@keesversluis
Copy link
Author

For myself I found a solution by editing '\inc\modules\blog\Admin.php'. I changed the 'dateformats' section in four places as follows:

[
    'value' => 'd M Y',
    'name'  => '01 '.$this->lang('jan').' 2016'
],
...
[
    'value' => 'd M Y, H:i',
    'name'  => '01 '.$this->lang('jan').' 2016, 12:00'
],

So I removed an 'x' four times and with that the reference to the translation that is apparently only needed in the Polish language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants