Skip to content
Snippets Groups Projects
Commit 5f38bc64 authored by thomaswoehlke's avatar thomaswoehlke
Browse files

update data

parent 12ff79b6
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,9 @@ class EcdcDateReported(ApplicationDateReported):
day_of_week = db.Column(db.Integer, nullable=False)
week_of_year = db.Column(db.Integer, nullable=False)
def get_name_for_datum(self):
return self.date_reported
def get_date_import_format_from_date_reported(self):
my_date_parts = self.date_reported.split("-")
my_year = my_date_parts[0]
......
......@@ -10,7 +10,7 @@
<td>
<!-- TODO: change URL to for_url() -->
<a href="/ecdc/continent/{{ europe_continent.id }}">
{{ europe_continent.continent_exp }}
{{ europe_continent.region }}
</a>
</td>
</tr>
......
......@@ -31,7 +31,7 @@
</td>
<td>
<a href="/ecdc/continent/{{ europe_country.continent.id }}">
{{ europe_country.continent.continent_exp }}
{{ europe_country.continent.region }}
</a>
</td>
</tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment