Spaces:
Runtime error
Runtime error
Tomás F
commited on
Commit
·
ae1f735
1
Parent(s):
a143bbf
Fix published date formatting
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ for article, sentiment in filter_with_sentiment(classified_articles, target_sent
|
|
93 |
st.markdown(
|
94 |
f'''
|
95 |
#### {article.title}
|
96 |
-
Published on {strftime(
|
97 |
**Sentiment:** {sentiment.get('label').capitalize()}
|
98 |
'''
|
99 |
)
|
|
|
93 |
st.markdown(
|
94 |
f'''
|
95 |
#### {article.title}
|
96 |
+
Published on {strftime('%H:%M %d/%m/%Y', article.published_parsed)}
|
97 |
**Sentiment:** {sentiment.get('label').capitalize()}
|
98 |
'''
|
99 |
)
|