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
|
||||
# https://docs.djangoproject.com/en/5.2/topics/i18n/
|
||||
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
LANGUAGE_CODE = 'de-de'
|
||||
|
||||
TIME_ZONE = 'UTC'
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% load l10n %}
|
||||
|
||||
{% block content %}
|
||||
<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="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">{{ event.title }}</h5>
|
||||
<small>{{ event.start_time }}</small>
|
||||
<small>{{ event.start_time|localize }}</small>
|
||||
</div>
|
||||
<p class="mb-1">{{ event.description }}</p>
|
||||
<small>Location: {{ event.location_address }}</small>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user