File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 19
19
TIMEZONE = 'Europe/Bucharest'
20
20
21
21
LOCALE = 'rom' , 'ro_RO' ,
22
- DEFAULT_DATE_FORMAT = '%A, % d %B %Y'
22
+ DEFAULT_DATE_FORMAT = '%d %B %Y'
23
23
DEFAULT_LANG = 'ro'
24
24
25
25
FEED_ALL_RSS = 'feeds/all.rss.xml'
Original file line number Diff line number Diff line change 9
9
{% block content %}
10
10
< div itemscope itemtype ="http://schema.org/Article ">
11
11
< h1 class ="title " itemprop ="name "> {{ article.title }}</ h1 >
12
- < p class ="date "> {{ article.locale_date }}</ p >
12
+ < p class ="date ">
13
+ {% if article.date.isoweekday() == 1 %}
14
+ Luni,
15
+ {% elif article.date.isoweekday() == 2 %}
16
+ Marți,
17
+ {% elif article.date.isoweekday() == 3 %}
18
+ Miercuri,
19
+ {% elif article.date.isoweekday() == 4 %}
20
+ Joi,
21
+ {% elif article.date.isoweekday() == 5 %}
22
+ Vineri,
23
+ {% elif article.date.isoweekday() == 6 %}
24
+ Sâmbătă,
25
+ {% elif article.date.isoweekday() == 7 %}
26
+ Duminică,
27
+ {% endif %}
28
+ {{ article.locale_date }}
29
+ </ p >
13
30
< blockquote class ="attributes ">
14
31
{% if article.category %}
15
32
< p class ="location "> Locație:
You can’t perform that action at this time.
0 commit comments