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

[BUG] DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead #50

Closed
marcemv90 opened this issue Apr 27, 2023 · 0 comments · Fixed by #54
Closed

[BUG] DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead #50

marcemv90 opened this issue Apr 27, 2023 · 0 comments · Fixed by #54
Labels
bug Something isn't working

Comments

@marcemv90
Copy link

marcemv90 commented Apr 27, 2023

Plugin version

v2.2.5

Python version

3.11.0

Additional environment information (optional)

No response

What happened?

Not clearly a bug, but just to advise about a deprecation warning:

INFO     -  DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
              File "/usr/local/lib/python3.11/site-packages/mkdocs_blogging_plugin/util.py", line 145, in get_localized_date
                _locale = locale.getdefaultlocale()[0]
              File "/usr/local/lib/python3.11/locale.py", line 559, in getdefaultlocale
                warnings.warn(

What should have happened? (optional)

No response

How to reproduce the bug?

1. Install the plugin
2. Run mkdocs serve
3. Check the logs

Additional context (optional)

No response

Relevant log output (optional)

No response

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

Successfully merging a pull request may close this issue.

2 participants