Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Nuovo sito
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Nuovo sito
Commits
15e30c16
Commit
15e30c16
authored
Dec 12, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replaced 'ISO8859-1' with 'UTF-8'
added Exception with TODO log
parent
9074d4e3
Pipeline
#357
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
uitwww/src/news/utils.py
uitwww/src/news/utils.py
+3
-2
No files found.
uitwww/src/news/utils.py
View file @
15e30c16
...
...
@@ -71,8 +71,9 @@ class GetNews:
try
:
# check and set with it_IT language
if
'it_it'
in
locale
.
locale_alias
:
locale
.
setlocale
(
locale
.
LC_TIME
,
"it_IT.ISO8859-1"
)
except
:
locale
.
setlocale
(
locale
.
LC_TIME
,
"it_IT.UTF-8"
)
except
Exception
as
ex
:
# TODO: add logger.warning(ex)
pass
# format datetime: 01 Novembre 2023 - 00:00
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment