feat: Lokalisierung des Datumsformats auf dem Dashboard
This commit is contained in:
parent
8c388b6ef3
commit
74ff99fe52
Binary file not shown.
@ -114,7 +114,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||||||
# Internationalization
|
# Internationalization
|
||||||
# https://docs.djangoproject.com/en/5.2/topics/i18n/
|
# https://docs.djangoproject.com/en/5.2/topics/i18n/
|
||||||
|
|
||||||
LANGUAGE_CODE = 'en-us'
|
LANGUAGE_CODE = 'de-de'
|
||||||
|
|
||||||
TIME_ZONE = 'UTC'
|
TIME_ZONE = 'UTC'
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
{% load l10n %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||||
@ -17,7 +18,7 @@
|
|||||||
<div class="list-group-item list-group-item-action flex-column align-items-start">
|
<div class="list-group-item list-group-item-action flex-column align-items-start">
|
||||||
<div class="d-flex w-100 justify-content-between">
|
<div class="d-flex w-100 justify-content-between">
|
||||||
<h5 class="mb-1">{{ event.title }}</h5>
|
<h5 class="mb-1">{{ event.title }}</h5>
|
||||||
<small>{{ event.start_time }}</small>
|
<small>{{ event.start_time|localize }}</small>
|
||||||
</div>
|
</div>
|
||||||
<p class="mb-1">{{ event.description }}</p>
|
<p class="mb-1">{{ event.description }}</p>
|
||||||
<small>Location: {{ event.location_address }}</small>
|
<small>Location: {{ event.location_address }}</small>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user